Decrease sync debounce
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
angular.module('app')
|
||||
|
||||
.constant('appVersion', '3.0.14')
|
||||
.constant('appVersion', '3.0.15')
|
||||
|
||||
;
|
||||
@@ -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}) {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user