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