forked from MapComplete/MapComplete
More css tweaks and bug fixes
This commit is contained in:
parent
fd350bb095
commit
eb4dda1ba2
29 changed files with 294 additions and 107303 deletions
|
@ -4,7 +4,6 @@ import {UIEventSource} from "./UI/UIEventSource";
|
|||
|
||||
export class Helpers {
|
||||
|
||||
|
||||
static DoEvery(millis: number, f: (() => void)) {
|
||||
window.setTimeout(
|
||||
function () {
|
||||
|
@ -56,7 +55,6 @@ export class Helpers {
|
|||
* -> WHen uploading is done, the window is closed anyway
|
||||
*/
|
||||
static LastEffortSave(changes: Changes) {
|
||||
|
||||
window.addEventListener("beforeunload", function (e) {
|
||||
// Quickly save everyting!
|
||||
if (changes.pendingChangesES.data == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue