aeth пре 2 месеци
родитељ
комит
1811dd2fdb
1 измењених фајлова са 2 додато и 2 уклоњено
  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";
 }