Skip to content

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

TS74 - forgotten commit

Borislav Sapundzhiev24831b8127dd
diff --git a/data/ext/viewerImage/viewer.js b/data/ext/viewerImage/viewer.js
index b67b440c7..9ebcf31ff 100644
--- a/data/ext/viewerImage/viewer.js
+++ b/data/ext/viewerImage/viewer.js
@@ -30,7 +30,7 @@ $(document).ready(function() {
if (isCordova || isWeb) {
- if (parent.cordova && parent.cordova.platformId.match(/ios/i)) {
+ if (parent.isCordovaiOS) {
filePath = "cdvfile://localhost/persistent" + encodeURIComponent(filePath);
}
} else {