aeth vor 4 Monaten
Ursprung
Commit
1811dd2fdb
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      html/slide.js

+ 2 - 2
html/slide.js

@@ -6,6 +6,6 @@ function openNav() {
 
 /* Set the width of the side navigation to 0 and the left margin of the page content to 0 */
 function closeNav() {
-  document.getElementById("mySidenav").style.width = "0";
-  document.getElementById("main").style.marginLeft = "0";
+  document.getElementById("mySidenav").style.width = "0px";
+  document.getElementById("main").style.marginLeft = "0px";
 }