diff options
Diffstat (limited to 'httemplate/elements/city.html')
-rw-r--r-- | httemplate/elements/city.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/city.html b/httemplate/elements/city.html index 61d0578..956d353 100644 --- a/httemplate/elements/city.html +++ b/httemplate/elements/city.html @@ -64,7 +64,7 @@ Example: <%$pre%>city_select_changed(what.form.<% $pre %>city_select); what.form.<% $pre %>city.style.display = 'none'; what.form.<% $pre %>city_select.style.display = ''; - } else { + } else if ( what.form.<% $pre %>city.style.display == 'none' ) { // turn on the text city, turn off the select what.form.<%$ pre %>city.value = saved_<%$pre%>city; what.form.<% $pre %>city.style.display = ''; |