mobileclient can now onbeforeunload

This commit is contained in:
Laura Klünder 2017-12-24 15:57:22 +01:00
parent db2f99c774
commit 92a8b5c209

View file

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