MediaWiki:Gadget-removeAccessKeys.js: Difference between revisions

Content deleted Content added
m fix addOnloadHook deprecation, per mw:ResourceLoader/JavaScript Deprecations
m ← Migration: wg* → mw.config.get('wg*')
Line 9:
 
jQuery( document ).ready( function( $ ) {
if (mw.config.get('skin') == "vector") {
var head = document.getElementById('mw-head');
if(head) removeKeys(head.getElementsByTagName('a'));