MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
m (No problems there)
mNo edit summary
Line 492: Line 492:
oldApertureInfobox = {
oldApertureInfobox = {
mouseIn: function() {
mouseIn: function() {
$(this).find('img').attr('src', $(this).attr('src').replace('Inactive.png', 'Active.png'));
$(this).children('.old-aperture-active').css('display', 'block');
$(this).children('.old-aperture-inactive').css('display', 'none');
},
},
mouseOut: function() {
mouseOut: function() {
if(!$(this).hasClass('old-aperture-location-active')) {
if(!$(this).hasClass('old-aperture-location-active')) {
$(this).find('img').attr('src', $(this).attr('src').replace('Active.png', 'Inactive.png'));
$(this).children('.old-aperture-active').css('display', 'none');
$(this).children('.old-aperture-inactive').css('display', 'block');
}
}
},
},