We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0358b9 + 9616eee commit e1bcc2dCopy full SHA for e1bcc2d
qiita_pet/templates/analysis_waiting.html
@@ -4,7 +4,9 @@
4
<script src="/static/vendor/js/moi.js"></script>
5
<script src="/static/vendor/js/moi_list.js"></script>
6
<script type="text/javascript">
7
- window.onload = function() {moi_list.init("{{group_id}}");};
+ $(document).ready(function() {
8
+ moi_list.init("{{group_id}}");
9
+ });
10
</script>
11
{% end %}
12
qiita_pet/templates/compute_wait.html
@@ -2,7 +2,7 @@
2
3
{%block head%}
- window.onload = function() {
var host = 'ws://' + window.location.host + '/consumer/';
var websocket = new WebSocket(host);
@@ -34,7 +34,7 @@
34
}
35
};
36
websocket.onerror = function(evt) { };
37
- };
38
39
40
0 commit comments