Template:Notes toggle: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 10: Line 10:
     } else {
     } else {
       y[i].style.display = "none";
       y[i].style.display = "none";
    }
  }
  var z = x.getElementsByClassName("mw-references-wrap");
  var i;
  for (i = 0; i < z.length; i++) {
    if (z[i].style.display === "none") {
      z[i].style.display = "inline";
    } else {
      z[i].style.display = "none";
     }
     }
   }
   }