Skip to content

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

Better check for the similarity of the filepath implemented

uggrock54c11646001b
diff --git a/data/js/ioapi.chrome.js b/data/js/ioapi.chrome.js
index a55d055cd..67d04835f 100644
--- a/data/js/ioapi.chrome.js
+++ b/data/js/ioapi.chrome.js
@@ -261,7 +261,7 @@ Still Missing:
// currently the file is copied to the new location and than
// deleted from the old location
console.log("Renaming file: "+filePath+" to "+newFilePath);
- if(filePath == newFilePath) {
+ if(filePath.toLowerCase() == newFilePath.toLowerCase()) {
console.error("Initial and target filenames are the same...");
return;
}