MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and...
[moodle.git] / mod / chat / gui_header_js / users.php
index 147f394..7eaf678 100644 (file)
@@ -70,7 +70,7 @@ foreach ($chatusers as $chatuser) {
 }
 $PAGE->requires->data_for_js('uidles', $uidles);
 $PAGE->requires->js('/mod/chat/gui_header_js/chat_gui_header.js');
-$PAGE->requires->js_function_call('start')->on_dom_ready();
+$PAGE->requires->js_function_call('start', null, true);
 ob_start();
 echo $OUTPUT->header();