don't use onbeforeunload for the app as it will show no dialog

This commit is contained in:
Laura Klünder 2017-12-23 04:21:02 +01:00
parent 56549eb533
commit 070dc9bd0b

View file

@ -35,7 +35,9 @@ editor = {
}
});
window.onbeforeunload = editor._onbeforeunload;
if (!window.mobileclient) {
window.onbeforeunload = editor._onbeforeunload;
}
L.control.scale({imperial: false}).addTo(editor.map);