don't use onbeforeunload for the app as it will show no dialog
@@ -35,7 +35,9 @@ editor = {
}
});
+ if (!window.mobileclient) {
window.onbeforeunload = editor._onbeforeunload;
+ }
L.control.scale({imperial: false}).addTo(editor.map);
