ElEditors, Interface administrators, Administrators
70,866
edits
Tag: Undo |
No edit summary |
||
Line 333: | Line 333: | ||
$("#ca-ve-edit").clone().attr('id', 'ca-ve-edit-clone').prependTo($('#p-views .mw-portlet-body ul')); | $("#ca-ve-edit").clone().attr('id', 'ca-ve-edit-clone').prependTo($('#p-views .mw-portlet-body ul')); | ||
$("#ca-ve-edit").hide(); | $("#ca-ve-edit").hide(); | ||
jQuery.loadScript = function (url, callback) { | |||
jQuery.ajax({ | |||
url: url, | |||
dataType: 'script', | |||
success: callback, | |||
async: true | |||
}); | |||
} | |||
$.loadScript('https://unpkg.com/@popperjs/core@2'); | |||
$.loadScript('https://unpkg.com/tippy.js@6'); | |||
}); | }); | ||