]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/question_edit.html
fixes problem with always showing alert dialog in chrome. Still working out non...
[osqa.git] / forum / skins / default / templates / question_edit.html
index 1d3246c7d1e36a78c2ffdcf1aa1833618d9d63ab..47af6bf813a14012af33c86de73a25297ea9450f 100644 (file)
@@ -78,7 +78,6 @@
                  } else {
                      yourWorkWillBeLost(e);
                  }
-                 return false;
             }
         }
         window.addEventListener('beforeunload', beforeUnload, true);
@@ -87,7 +86,6 @@
         var title = "";
         var body = "";
         var tag = "";
-        var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
         </script>
 {% endblock %}