Skip to content

Commit 9cdc4c5

Browse files
committed
BUG: Update code using moi.init
Fix #1124
1 parent 13fa06e commit 9cdc4c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

qiita_pet/templates/analysis_selected.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
check_color();
5959
}
6060
$(document).ready(function() {
61-
moi.init(window.location.host + '/analysis/selected/socket/', null, function(){}, error, error);
61+
moi.init(null, window.location.host + '/analysis/selected/socket/', function(){}, error, error);
6262
moi.add_callback('remove_pd', remove_pd_from_html);
6363
moi.add_callback('remove_sample', remove_sample_from_html);
6464
moi.add_callback('clear', clear_from_html);

qiita_pet/templates/list_studies.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656

5757
$(document).ready(function() {
58-
moi.init(window.location.host + '/study/list/socket/', null, function(){}, error, error);
58+
moi.init(null, window.location.host + '/study/list/socket/', function(){}, error, error);
5959
moi.add_callback('sel', show_alert);
6060
function format ( d, row ) {
6161
// `d` is the original data object for the row

0 commit comments

Comments
 (0)