Skip to content

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

fixing the select all issue

Ilian8a87da6efbc7
diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.js
index 9317a7f71..80cec83b8 100644
--- a/data/ext/perspectiveList/perspectiveUI.js
+++ b/data/ext/perspectiveList/perspectiveUI.js
@@ -43,7 +43,7 @@ console.log("Loading UI for perspectiveList");
$("#"+this.extensionID+"ToogleSelectAll")
.click(function() {
- if($(this).find("i").attr("class") == "fa fa-square-o") {
+ if($(this).find("i").hasClass("fa-square-o")) {
TSCORE.selectedFiles = [];
$('#'+self.extensionID+'FileTable tbody tr').each(function(){
$(this).addClass('ui-selected');