MediaWiki:Common.js: Difference between revisions

From VORE Station Wiki
Jump to navigation Jump to search
No edit summary
m (weird mysterious character)
 
Line 6: Line 6:
         }
         }
     });
     });
});
});

Latest revision as of 21:08, 3 January 2018

/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready(function() {
    $('img').each(function(e) {
        if (($(this).height() <= 70) || ($(this).width() <= 70)) {
            $(this).addClass('tinyimage');
        }
    });
});