Procházet zdrojové kódy

Add files via upload

Daniele Bonini (皮夕): WebDev, DevOps and project care by lots of Simplicity bits před 3 roky
rodič
revize
a80fef09d5
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 6 6
      Public/static/js/home.js

+ 6 - 6
Public/static/js/home.js

@@ -43,12 +43,12 @@ function encryptSha2(string) {
 
 function setFooterPos() {
   if (document.getElementById("footerCont")) {
-    //if ($("#Password").val() === "") {  
-    //    tollerance = 48;
-    //  } else {
-    //  tollerance = 15;
-    //}
-    tollerance = 22;  	  
+    if ($("#Password").val() === "") {  
+        tollerance = 48;
+    } else {
+      tollerance = 15;
+    }
+    //tollerance = 22;  	  
     $("#footerCont").css("top", parseInt( window.innerHeight - $("#footerCont").height() - tollerance ) + "px");
     $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
   }