浏览代码

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

Enrico Berti 9 年之前
父节点
当前提交
0eedf0d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>