Bläddra i källkod

Add files via upload

Daniele Bonini (皮夕): WebDev, DevOps and project care by lots of Simplicity bits 3 år sedan
förälder
incheckning
285828954b
1 ändrade filer med 7 tillägg och 7 borttagningar
  1. 7 7
      Public/static/js/home.js

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

@@ -43,14 +43,14 @@ 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) + "px");
+    $("#footer").css("top", parseInt( window.innerHeight - $("#footer").height() - tollerance + 6) + "px");
   }
 }