Skip to content

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

updating model correction

Ilian615e51819c23
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index d0d6a9a2f..dc0d21f1b 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -641,7 +641,7 @@ console.log("Loading UI for perspectiveDefault");
if(isWin) {
filePath = filePath.replace("\\","");
- $("#"+this.extensionID+"Container button[filepath]").each(function( index ) {
+ $("#"+this.extensionID+"Container li[filepath]").each(function( index ) {
if( $( this ).attr("filepath").replace("\\","") == filePath ) {
$( this ).remove();
}
@@ -661,7 +661,7 @@ console.log("Loading UI for perspectiveDefault");
if(isWin) {
oldFilePath = oldFilePath.replace("\\","");
- $("#"+this.extensionID+"Container button[filepath]").each(function( index ) {
+ $("#"+this.extensionID+"Container li[filepath]").each(function( index ) {
if( $( this ).attr("filepath").replace("\\","") == oldFilePath ) {
$fileTile = $( this );
}