Difference between revisions of "Foreground.js"
From Sega Retro
Scarred Sun (talk | contribs) m |
Scarred Sun (talk | contribs) m |
||
Line 1: | Line 1: | ||
var fileHistory = document.querySelector(".filehistory"); | var fileHistory = document.querySelector(".filehistory"); | ||
− | if (fileHistory ! | + | if (fileHistory != undefined) { |
fileHistory.classList.add("tablesaw", "tablesaw-stack"); | fileHistory.classList.add("tablesaw", "tablesaw-stack"); | ||
fileHistory.setAttribute("data-tablesaw-mode", "toggle"); | fileHistory.setAttribute("data-tablesaw-mode", "toggle"); | ||
} | } |
Revision as of 11:48, 6 September 2020
var fileHistory = document.querySelector(".filehistory"); if (fileHistory != undefined) { fileHistory.classList.add("tablesaw", "tablesaw-stack"); fileHistory.setAttribute("data-tablesaw-mode", "toggle"); }