noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 23/30: Comptability : Falkon doesn't understa


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 23/30: Comptability : Falkon doesn't understand the javascript token "??"
Date: Sat, 3 Dec 2022 08:35:14 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 72a409cce5280a274a16d4bd3a3cb2f5e4bc6a6f
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Nov 28 16:54:53 2022 +0100

    Comptability : Falkon doesn't understand the javascript token "??"
---
 html/js/noalyss_script.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js
index 3ab255ba2..3e08e4016 100644
--- a/html/js/noalyss_script.js
+++ b/html/js/noalyss_script.js
@@ -377,7 +377,8 @@ function toggleHideShow(p_obj, p_button,rotate)
     var div_obj=g(p_obj);
     var stat = div_obj.style.display;
     
-    var str = g(p_button).value??"";
+    var str = ( g(p_button))?g(p_button).value:"";
+
     if (stat === 'none')
     {
         // specific for the DIV id search_form



reply via email to

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