summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-08-04 18:22:05 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-04 10:03:20 -0700
commit0130f8411b6e6de692d8c10f96aefc1796dc00f4 (patch)
tree1ec0e50532e8b243a2142276418a11d7a8c2b06c /theme
parent477e37d15cb56ac5a3305dc4fdf45bf2fa7ad3ec (diff)
downloadsubsurface-0130f8411b6e6de692d8c10f96aefc1796dc00f4.tar.gz
HTML: prevent implicit type conversion
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme')
-rw-r--r--theme/dive_export.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/dive_export.html b/theme/dive_export.html
index 524f39a69..91b0ef749 100644
--- a/theme/dive_export.html
+++ b/theme/dive_export.html
@@ -53,7 +53,7 @@ function load_scripts()
var advanced_shown=false;
function showdiv(){
var search = document.getElementById("advanced_search");
- if(advanced_shown==false){
+ if(advanced_shown===false){
search.style.display='block';
advanced_shown=true;
}
@@ -63,7 +63,7 @@ function showdiv(){
}
}
function hideAdvanced(){
- if(advanced_shown==false) return;
+ if(advanced_shown===false) return;
var search = document.getElementById("advanced_search");
search.style.display='none';
advanced_shown=false;