rename checkboxMouseupHandler to checkboxClickHandler for the feel-good value of...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 19 Jul 2007 15:49:25 +0000 (15:49 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 19 Jul 2007 15:49:25 +0000 (15:49 +0000)
skins/common/wikibits.js

index ee8c493..af3ffc6 100644 (file)
@@ -728,7 +728,7 @@ function addCheckboxClickHandlers(inputs, start) {
                var end = checkboxes.length;
                checkboxes[end] = cb;
                cb.index = end;
-               cb.onclick = checkboxMouseupHandler;
+               cb.onclick = checkboxClickHandler;
        }
 
        if ( finish < inputs.length ) {
@@ -738,7 +738,7 @@ function addCheckboxClickHandlers(inputs, start) {
        }
 }
 
-function checkboxMouseupHandler(e) {
+function checkboxClickHandler(e) {
        if (typeof e == 'undefined') {
                e = window.event;
        }