From: tjhunt Date: Thu, 4 Sep 2008 04:52:54 +0000 (+0000) Subject: MDL-16263 Improve comment. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5b3990444de2aa1b4ce60e333bacdb9e02e09481;p=moodle.git MDL-16263 Improve comment. --- diff --git a/mod/quiz/quiz.js b/mod/quiz/quiz.js index b4e082a510..267f7299cb 100644 --- a/mod/quiz/quiz.js +++ b/mod/quiz/quiz.js @@ -145,9 +145,9 @@ quiz_timer = { } }; -// Code for updating the navigation panel. At the moment it only updates -// the flagged states of questions. This is a constructor, it takes +// Initialise a button on the navigation panel. function quiz_init_nav_button(buttonid, questionid) { + // Arrange to be notified if the flagged state changes. var button = document.getElementById(buttonid); button.stateupdater = new quiz_nav_updater(button, questionid); }