mobileclient can now onbeforeunload
This commit is contained in:
parent
db2f99c774
commit
92a8b5c209
1 changed files with 1 additions and 3 deletions
|
@ -35,9 +35,7 @@ editor = {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!window.mobileclient) {
|
|
||||||
window.onbeforeunload = editor._onbeforeunload;
|
window.onbeforeunload = editor._onbeforeunload;
|
||||||
}
|
|
||||||
|
|
||||||
L.control.scale({imperial: false}).addTo(editor.map);
|
L.control.scale({imperial: false}).addTo(editor.map);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue