[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/06: Task #0001507: Click sur détail opéra
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/06: Task #0001507: Click sur détail opérations apparaît trop haut Use the function window.pageYOffset instead of window.scrollY |
Date: |
Wed, 20 Dec 2017 04:42:48 -0500 (EST) |
sparkyx pushed a commit to annotated tag rel6919.7
in repository noalyss.
commit be75a27d2e14cfdf14a7f4355879af0eb5cad355
Author: Dany De Bontridder <address@hidden>
Date: Tue Dec 12 19:55:57 2017 +0100
Task #0001507: Click sur détail opérations apparaît trop haut
Use the function window.pageYOffset instead of window.scrollY
---
html/js/scripts.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 83054b9..87e9b90 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -1436,9 +1436,9 @@ function fixed_position(p_sx, p_sy)
function calcy(p_sy)
{
var sy = p_sy;
- if (window.scrollY)
+ if (window.pageYOffset)
{
- sy = window.scrollY + p_sy;
+ sy = window.pageYOffset + p_sy;
}
else
{
- [Noalyss-commit] [noalyss] annotated tag rel6919.7 created (now 9e96201), Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 02/06: Accounting : error message if accounting is too large, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 01/06: Accounting : error message if accounting is too large, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 03/06: set version 6919.7, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 06/06: Calc : set 4 decimals, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 05/06: Improve calc, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 04/06: Task #0001507: Click sur détail opérations apparaît trop haut Use the function window.pageYOffset instead of window.scrollY,
Dany De Bontridder <=