Skip to content

TagSpaces is an offline, open source, document manager with tagging support

improving perspective ui performance

Ilian7991915ded51
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index 607617995..e0c94ed74 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -198,7 +198,7 @@ console.log("Loading UI for perspectiveDefault");
var context = {
id: this.extensionID,
};
- this.viewToolbar.html(toolbarTemplate(context));
+ this.viewToolbar.append(toolbarTemplate(context));
$("#"+this.extensionID+"ToogleSelectAll")
.click(function(e) {
diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.js
index ceae20ba3..88e65b11e 100644
--- a/data/ext/perspectiveList/perspectiveUI.js
+++ b/data/ext/perspectiveList/perspectiveUI.js
@@ -39,7 +39,7 @@ console.log("Loading UI for perspectiveList");
};
// Init Toolbar
- this.viewToolbar.html(toolbarTemplate(context));
+ this.viewToolbar.append(toolbarTemplate(context));
$("#"+this.extensionID+"ToogleSelectAll")
.click(function() {