]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16263 Improve comment.
authortjhunt <tjhunt>
Thu, 4 Sep 2008 04:52:54 +0000 (04:52 +0000)
committertjhunt <tjhunt>
Thu, 4 Sep 2008 04:52:54 +0000 (04:52 +0000)
mod/quiz/quiz.js

index b4e082a51097476d73c92576a4f3ad0ee4da9d2a..267f7299cba351342d530a4efa10cab43aeacf48 100644 (file)
@@ -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);
 }