MediaWiki:Common.js: mudanças entre as edições

De PokeStorm Wiki
Limpou toda a página
Etiquetas: anulando Revertido
mSem resumo de edição
Etiqueta: Reversão manual
Linha 1: Linha 1:
 
$(document).ready(function() {
    $('a.image-popup').click(function(event) {
        event.preventDefault();
        var imageUrl = $(this).attr('href');
        var popupWindow = window.open(imageUrl, 'ImagemPopup', 'width=800,height=600,resizable=yes,scrollbars=yes');
        if (popupWindow) {
            popupWindow.focus();
        }
    });
});

Edição das 08h32min de 28 de março de 2025

$(document).ready(function() {
    $('a.image-popup').click(function(event) {
        event.preventDefault();
        var imageUrl = $(this).attr('href');
        var popupWindow = window.open(imageUrl, 'ImagemPopup', 'width=800,height=600,resizable=yes,scrollbars=yes');
        if (popupWindow) {
            popupWindow.focus();
        }
    });
});