Difference between revisions of "Foreground.js"

From Sega Retro

m
Line 2: Line 2:
 
   if (fileHistory !== undefined) {
 
   if (fileHistory !== undefined) {
 
     fileHistory.classList.add("tablesaw", "tablesaw-stack");
 
     fileHistory.classList.add("tablesaw", "tablesaw-stack");
     fileHistory.setAttribute("data-tablesaw-mode", "stack");
+
     fileHistory.setAttribute("data-tablesaw-mode", "toggle");
 
   }
 
   }

Revision as of 12:45, 6 September 2020

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