MediaWiki:Common.js: различия между версиями

>Боевой Космический Роботонный Робот
как-то так
>Боевой Космический Роботонный Робот
блин.
Строка 65: Строка 65:
     $('body')[0].style.backgroundColor = 'white';
     $('body')[0].style.backgroundColor = 'white';
     $('body').html("<div id='nihilism_message'" + (nhl.style.top == "0px" ? " style='top: 0px; left: 0px;'" : "") + ">" + msg + "</div>");
     $('body').html("<div id='nihilism_message'" + (nhl.style.top == "0px" ? " style='top: 0px; left: 0px;'" : "") + ">" + msg + "</div>");
     $(document).dblclick(function(){ window.location = 'http://absurdopedia.net/index.php?title=' + encodeURIComponent(wgPageName) + '&action=edit'; });
     $(document).dblclick(function(){ window.location = 'http://absurdopedia.wikia.com/index.php?title=' + encodeURIComponent(wgPageName) + '&action=edit'; });
   }
   }
});
});