mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
HTML: prevent implicit type conversion
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
477e37d15c
commit
0130f8411b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue