// Update tooltip for the access key after inserting into DOM
// to get a localized access key label (T69946).
- $link.updateTooltipAccessKeys();
+ if ( accesskey ) {
+ $link.updateTooltipAccessKeys();
+ }
return $item[ 0 ];
},
}() );
}
- /**
- * Former public initialisation. Now a no-op function.
- *
- * @method util_init
- * @deprecated since 1.30
- */
- mw.log.deprecate( util, 'init', $.noop, 'Remove the call of mw.util.init().', 'mw.util.init' );
-
$( init );
mw.util = util;