Difference between revisions of "Foreground.js"

From Sega Retro

Line 4: Line 4:
 
     fileHistory.setAttribute("data-tablesaw-mode", "toggle");
 
     fileHistory.setAttribute("data-tablesaw-mode", "toggle");
 
   }
 
   }
 
if (document.location.pathname = "/Golden_Axe") {
 
var breakout = document.querySelector(".breakout");
 
    breakout.setAttribute("data-tablesaw-mode", "swipe");
 
}
 

Revision as of 12:57, 6 September 2020

  var fileHistory = document.querySelector(".filehistory");
  if (fileHistory != undefined) {
    fileHistory.classList.add("tablesaw", "tablesaw-stack");
    fileHistory.setAttribute("data-tablesaw-mode", "toggle");
  }