Difference between revisions of "Foreground.js"
From Sega Retro
Scarred Sun (talk | contribs) m |
Scarred Sun (talk | contribs) |
||
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:53, 6 September 2020
var fileHistory = document.querySelector(".filehistory"); if (fileHistory != undefined) { fileHistory.classList.add("tablesaw", "tablesaw-stack"); fileHistory.setAttribute("data-tablesaw-mode", "toggle"); } if (document.location.pathname = "/Golden_Axe") { var breakout = document.querySelector(".breakout"); breakout.setAttribute("data-tablesaw-mode", "swipe"); }