Difference between revisions of "MediaWiki:Common.js"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 3: Line 3:
 
$(function () {
 
$(function () {
  
var x = document.getElementsByClassName("_2392");
+
var x = document.getElementsByClassName('_2392');
 
var i;
 
var i;
 
for (i = 0; i < x.length; i++) {
 
for (i = 0; i < x.length; i++) {

Revision as of 21:37, 18 May 2018

/* Any JavaScript here will be loaded for all users on every page load. */

$(function () {

var x = document.getElementsByClassName('_2392');
var i;
for (i = 0; i < x.length; i++) {
    x[i].style.display = "none";
}

}());