Glorious Wiki readers. We are adding the Midnight Magic video and livestream to the wiki. We appreciate your patience as we process the new and updated information! |
MediaWiki:Common.js
Revisão em 05h18min de 19 de abril de 2024 por Lex (discussão | contribs) (Undo revision 115944 by Lex (talk))
Nota: Depois de gravar, terá de limpar a cache do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Internet Explorer: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5
- Opera: Ir para Menu → Configurações (Opera → Preferências no Mac) e, em seguida, Privacidade e segurança → Limpar dados de navegação → Imagens e ficheiros em cache.
$(function () {
$('.gallery video:not([controls])').click(function (e) {
var url = $(e.target).find('a').text();
window.location.href = url;
});
$('.gallery.hoverhighlight a:has(img[link])').removeClass('image').off('click').click(function (e) {
e.preventDefault();
var url = $(e.target).find('img').first().attr('link');
console.log(url);
window.location.href = url;
return false;
});
});