Content added Content deleted
No edit summary |
No edit summary |
||
Line 5:
$('input#wpLeaveRedirect').removeAttr('checked');
});
if($('#mw-content a[href*="/wiki/Special:UpdateProfile"]').length > 0 === true){
$('.page-User_TheDemon08 #profile-top, .page-User_TheDemon08 #content .wds-button-group').hover(function () {▼
var waitForPageTools = function(selector, callback) {
$('.page-User_TheDemon08 #content .wds-button-group').css('visibility', 'visible');▼
if ($(selector).length) {
callback();
} else {
setTimeout(function() {
waitForPageTools(selector, callback);
}, 100);
}
};
waitForPageTools('.toolsDropdown-content', function() {
▲ $('
}, function () {
$('
});
});
}
|
Revision as of 18:45, 23 July 2020
mw.loader.load( '/w/index.php?title=MediaWiki:LastEdited.js&action=raw&ctype=text/javascript' );
mw.loader.load( '/w/index.php?title=MediaWiki:TagRightsManagement.js&action=raw&ctype=text/javascript' );
$(document).ready(function() {
$('input#wpLeaveRedirect').removeAttr('checked');
});
if($('#mw-content a[href*="/wiki/Special:UpdateProfile"]').length > 0 === true){
var waitForPageTools = function(selector, callback) {
if ($(selector).length) {
callback();
} else {
setTimeout(function() {
waitForPageTools(selector, callback);
}, 100);
}
};
waitForPageTools('.toolsDropdown-content', function() {
$('#profile-top,#mw-content .wds-button-group').hover(function () {
$('#mw-content .wds-button-group').css('visibility', 'visible');
}, function () {
$('#mw-content .wds-button-group').css('visibility', 'hidden');
});
});
}