diff options
Diffstat (limited to 'skins/common/changepassword.js')
-rw-r--r-- | skins/common/changepassword.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/skins/common/changepassword.js b/skins/common/changepassword.js deleted file mode 100644 index 1e3e2069..00000000 --- a/skins/common/changepassword.js +++ /dev/null @@ -1,16 +0,0 @@ - -function onNameChange() { - if ( wgUserName != document.getElementById('wpName').value ) { - document.getElementById('wpPassword').disabled = true; - document.getElementById('wpComment').disabled = false; - } else { - document.getElementById('wpPassword').disabled = false; - document.getElementById('wpComment').disabled = true; - } -} - -function onNameChangeHook() { - document.getElementById( 'wpName' ).onblur = onNameChange; -} - -addOnloadHook( onNameChangeHook ); |