Browse Source

HUE-5529 [core] Remove JS error on Jasmine runner

Enrico Berti 9 năm trước cách đây
mục cha
commit
0eedf0dfc2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      desktop/core/src/desktop/templates/jasmineRunner.html

+ 1 - 1
desktop/core/src/desktop/templates/jasmineRunner.html

@@ -79,8 +79,8 @@
         consolidateAll: false
       }));
       jasmine.getEnv().addReporter(new jasmineReporters.TerminalReporter());
+      window.onload();
     }
-    window.onload();
   </script>
 </head>
 <body></body>