noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 03/07: Fix code : invalid CSS removed


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/07: Fix code : invalid CSS removed
Date: Sat, 3 Sep 2022 17:16:03 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit a308aed4232e0fe051e33a57e253bd64eba88bb5
Author: Dany De Bontridder <dany@alchimerys.be>
AuthorDate: Sat Sep 3 18:47:41 2022 +0200

    Fix code : invalid CSS removed
---
 html/do.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/html/do.php b/html/do.php
index 4fc7ada47..d668aa8e7 100644
--- a/html/do.php
+++ b/html/do.php
@@ -89,7 +89,7 @@ echo <<<EOF
 EOF;
 
     ?>
-<div id="debug_div" style="border:slategray solid 1px;margin-left: 
0px;position:absolute;background:white;display:fixed;top:2px;left:25px;z-index:1000;display:none">
+<div id="debug_div" style="border:slategray solid 1px;margin-left: 
0px;position:absolute;background:white;top:2px;left:25px;z-index:1000;display:none">
        <h2 style="margin-top:100px"> Memory Usage </h2>
        <?php  echo memory_get_usage()/1024.0 . " kb \n"; ?>
 
@@ -133,7 +133,7 @@ EOF;
     function show_debug_request() {
         var visible=document.getElementById('debug_div').style.display;
         var new_state="";
-        if ( visible == 'block') { new_state='none';}
+        if ( visible === 'block') { new_state='none';}
         else
         if ( visible == 'none') { new_state='block';}
         else 
@@ -141,7 +141,7 @@ EOF;
         document.getElementById('debug_div').style.display=new_state;
     }
 </script>
-<input type="button" class="tinybutton" 
style="position:absolute;display:fixed;top:40px;left:50px;margin-left:50px;z-index:1000"
 value="show request" onclick="show_debug_request()">
+<input type="button" class="tinybutton" 
style="position:absolute;top:40px;left:50px;margin-left:50px;z-index:1000" 
value="show request" onclick="show_debug_request()">
 
 <?php
 



reply via email to

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