Difference between revisions of "Foreground.js"

From Sega Retro

m
m
Line 1: Line 1:
 
   var fileHistory = document.querySelector(".filehistory");
 
   var fileHistory = document.querySelector(".filehistory");
   if (fileHistory !== undefined) {
+
   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 12:48, 6 September 2020

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