Skip to content

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

exchanging local extension with general varable

uggrock9d69176df6f5
diff --git a/data/ext/perspectiveImageSwiper/perspectiveUI.js b/data/ext/perspectiveImageSwiper/perspectiveUI.js
index e8727f11d..44208a113 100644
--- a/data/ext/perspectiveImageSwiper/perspectiveUI.js
+++ b/data/ext/perspectiveImageSwiper/perspectiveUI.js
@@ -43,7 +43,7 @@ define(function(require, exports, module) {
title: fileInfo[TSCORE.fileListTITLE]
};
- var metaFilePath = TSCORE.Meta.findMetaFilebyPath(filePath, "png");
+ var metaFilePath = TSCORE.Meta.findMetaFilebyPath(filePath, TSCORE.thumbFileExt);
if (metaFilePath) {
//doc.thumbnail = encodeURI("file://" + metaFilePath);
doc.thumbnail = encodeURI("file:///" + metaFilePath);