Skip to content

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

adding handling of the web version

Ilianad4ea5f91ef7
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index 3eb32a119..af3d8cf83 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -65,7 +65,7 @@ console.log("Loading UI for perspectiveDefault");
ExtUI.prototype.createFileTile = function(title, filePath, fileExt, fileTags) {
//TODO minimize platform specific calls
var tmbPath = undefined;
- if(isCordova) {
+ if(isCordova || isWeb) {
tmbPath = filePath;
} else {
tmbPath = "file:///"+filePath;