Advertisement
Shiny_

Untitled

Oct 17th, 2014
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function ToggleClass(element) {
  2.   switch(element.className == "grid-right.m-reset-float.m-reset-margin.m-reset-width.m-hide") {
  3.     case(true): {
  4.       element.style.display = "none";
  5.       break;
  6.     }
  7.     case(false): {
  8.       element.style.display = "inherit";
  9.       break;
  10.     }
  11.   }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement