diff options
author | Jochen Topf <jochen@topf.org> | 2015-03-10 08:32:52 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2015-03-10 08:32:52 +0100 |
commit | ad6c8c89b077c715d25c109a07910bea3edaca59 (patch) | |
tree | 89e5fadd172fd0740b3b7cdaa120b97d83831f64 | |
parent | dfc378e99c74fade1421fad159e583989b96406e (diff) | |
download | taginfo-ad6c8c89b077c715d25c109a07910bea3edaca59.tar taginfo-ad6c8c89b077c715d25c109a07910bea3edaca59.tar.gz |
Second try to fix the josm button problem.
-rw-r--r-- | web/public/js/taginfo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js index 0ca72d9..1d3994f 100644 --- a/web/public/js/taginfo.js +++ b/web/public/js/taginfo.js @@ -744,7 +744,7 @@ function comparison_list_change(key, value) { /* ============================ */ function activate_josm_button() { - if (jQuery('#josm_button')) { + if (jQuery('#josm_button').length != 0) { if (window.location.protocol == "https:") { var url = jQuery('#josm_button')[0].href.replace('http://localhost:8111/', 'https://localhost:8112/'); jQuery('#josm_button')[0].href = url; |