X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/3d2eba570bc4586884cc112b1920a4273b4d11c1..c1a4dfda807ca08de7d3370fc421abc39d411264:/forum/skins/default/templates/question_edit.html diff --git a/forum/skins/default/templates/question_edit.html b/forum/skins/default/templates/question_edit.html index 1d3246c..47af6bf 100644 --- a/forum/skins/default/templates/question_edit.html +++ b/forum/skins/default/templates/question_edit.html @@ -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; {% endblock %}