MediaWiki:Gadget-removeAccessKeys.js: Difference between revisions

Content deleted Content added
Thank you usability team... NOT
m fix addOnloadHook deprecation, per mw:ResourceLoader/JavaScript Deprecations
Line 8:
//Deactivating access keys, see [[Wikipedia talk:WikiProject User scripts/Scripts/removeAccessKeys|talk page]]
 
addOnloadHookjQuery( document ).ready( function( $ ) {
if (skin == "vector") {
var head = document.getElementById('mw-head');
Line 26:
removeKeys(document.getElementsByTagName('input'));
removeKeys(document.getElementsByTagName('label'));
} );
 
function removeKeys(nodeList){