Difference between revisions of "MediaWiki:Common.js"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
// Styling smw datasheet | // Styling smw datasheet | ||
− | $('.smwb-datasheet').toggleClass('smwb-theme-light border depth-1'); | + | $(function() { |
+ | $('.smwb-datasheet').toggleClass('smwb-theme-light border depth-1'); | ||
+ | }); |
Revision as of 11:17, 18 April 2020
// Styling smw datasheet
$(function() {
$('.smwb-datasheet').toggleClass('smwb-theme-light border depth-1');
});