MediaWiki:Common.js: Difference between revisions
Tag: Undo |
No edit summary |
||
| Line 19: | Line 19: | ||
}); | }); | ||
}); | }); | ||
$.getScript( 'https://unpkg.com/@popperjs/core@2'); | |||
$.getScript( 'https://unpkg.com/tippy.js@62', function() { | |||
tippy('[title]', { | |||
content(reference) { | |||
const title = reference.getAttribute('title'); | |||
reference.removeAttribute('title'); | |||
return title; | |||
}); | |||
}); | |||
mw.loader.load( '/w/resources/assets/form_prototype.js' ); | mw.loader.load( '/w/resources/assets/form_prototype.js' ); | ||