Decrease sync debounce

This commit is contained in:
Mo Bitar
2019-06-25 17:44:33 -05:00
parent 7cac88cac1
commit add9459901
4 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
angular.module('app') angular.module('app')
.constant('appVersion', '3.0.14') .constant('appVersion', '3.0.15')
; ;

View File

@@ -272,7 +272,7 @@ angular.module('app')
} }
this.EditorNgDebounce = 200; this.EditorNgDebounce = 200;
const SyncDebouce = 1000; const SyncDebouce = 350;
const SyncNoDebounce = 100; const SyncNoDebounce = 100;
this.saveNote = function({bypassDebouncer, updateClientModified, dontUpdatePreviews}) { this.saveNote = function({bypassDebouncer, updateClientModified, dontUpdatePreviews}) {

View File

@@ -151,8 +151,10 @@ class ActionsManager {
} }
case "show": { case "show": {
var win = window.open(action.url, '_blank'); let win = window.open(action.url, '_blank');
win.focus(); if(win) {
win.focus();
}
customCallback(); customCallback();
break; break;
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "standard-notes-web", "name": "standard-notes-web",
"version": "3.0.14", "version": "3.0.15",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"repository": { "repository": {
"type": "git", "type": "git",