noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/11: calcy , bug position divide by 2 on ce


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/11: calcy , bug position divide by 2 on certain circumstances
Date: Wed, 31 Mar 2021 13:07:06 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit e730ac251dea91b624146c9830f81a6a51859d34
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Mar 29 13:48:02 2021 +0200

    calcy , bug position divide by 2 on certain circumstances
---
 html/js/scripts.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/html/js/scripts.js b/html/js/scripts.js
index 5e154f7..781807c 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -1538,9 +1538,7 @@ function calcy(p_sy)
     {
         sy = document.documentElement.scrollTop + p_sy;
     }
-    if (document.viewport.getDimensions().width < 801) {
-        sy = sy / 2;
-    }
+
     return sy;
 
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]