Show:
  
  
  
  
    - Source:
 
Methods
(static) updateTooltipAccessKeys() → {jQuery}
    
    ...
    
Update the titles for all elements in a jQuery selection.
Provided by mediawiki.util module.
Returns:
- Type
 - jQuery
 
Example
// Converts tooltip "[z]" to associated browser shortcut key e.g. "[ctrl-option-z]"
  mw.loader.using( 'mediawiki.util' ).then( () => {
    var $a = $('<a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a>');
    $a.updateTooltipAccessKeys();
  } );