noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 19/107: Bug with javascript document.viewport


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 19/107: Bug with javascript document.viewport cannot be used directly
Date: Mon, 26 Aug 2019 10:31:48 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 02a3b3c8ac5bd619db27407c26926a7e8ee80126
Author: Dany De Bontridder <address@hidden>
Date:   Mon Feb 18 22:14:02 2019 +0100

    Bug with javascript document.viewport cannot be used directly
---
 html/js/scripts.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/html/js/scripts.js b/html/js/scripts.js
index 7449e66..f1de3b0 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -26,9 +26,6 @@
 var ask_reload = 0;
 var tag_choose = '';
 var aDraggableElement=new Array();
-var viewport = document.viewport.getDimensions(); // Gets the viewport as an 
object literal
-var width = viewport.width; // Usable window width
-var height = viewport.height;
 
 /**
  * callback function when we just need to update a hidden div with an info



reply via email to

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