16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
小 标签:移动版网页编辑 移动版编辑 |
小 |
||
/* global mw, $ */
(() => {
const
if (!window.jQuery) { return; }▼
mw.widget = mw.widget || {};
if (mw.widget.songposition) { return; }
const target = '.member-symbol',
map = new Map(),
$label = $('<div>', {html: '<div>'}),
$body = $(
$label.children( 'div' ).html( map.get(this) );
});
});
mw.loader.using(['oojs-ui-core', 'ext.gadget.site-lib']).then(() => {
mw.tipsy($body, target, {classes: ['member-popup', 'mw-tipsy']}, $label);
});
mw.widget.songposition = true;
}
else { window.addEventListener('jquery', main); }
}) ();
//</nowiki>
|