Просмотр исходного кода

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

Enrico Berti 9 лет назад
Родитель
Сommit
0eedf0dfc2
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>