No edit summary |
m (Universal Omega moved page User:TheDemon08/common.js to User:TheDemon08/cosmos.js without leaving a redirect) |
||
(No difference)
|
Revision as of 03:22, 8 September 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('#cosmos-actionsList-list', function() {
$('#profile-top,#mw-content #cosmos-articleHeader-actions').hover(function () {
$('#mw-content #cosmos-articleHeader-actions').css('visibility', 'visible');
}, function () {
$('#mw-content #cosmos-articleHeader-actions').css('visibility', 'hidden');
});
});
}