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')
.constant('appVersion', '3.0.14')
.constant('appVersion', '3.0.15')
;

View File

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

View File

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