Verified Commit 4a166341 authored by Camil Staps's avatar Camil Staps 🚀

Attempt to continue JS initialization even when loading the ABC interpreter failed

parent e2646b7c
Pipeline #21822 failed with stage
in 2 minutes and 31 seconds
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<!-- load iTasks viewport --> <!-- load iTasks viewport -->
<script type="text/javascript"> <script type="text/javascript">
window.onload = function() { window.onload = function() {
ABC.loading_promise.then(function(){ ABC.loading_promise.finally(function(){
itasks.viewport({syncTitle: true}, document.body); itasks.viewport({syncTitle: true}, document.body);
}); });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment