Skip to content

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

fixing the issue with hanging up by no pro version

uggrockeeab724be5e1
diff --git a/data/loader.js b/data/loader.js
index 5015e3a8c..e815b9a24 100644
--- a/data/loader.js
+++ b/data/loader.js
@@ -54,10 +54,9 @@ if( isFirefox ) {
IO_JS = "web/web.api";
}
-var PRO_JS = "js/pro";
-if(PRO != "false") {
- PRO_JS = 'pro/js/pro.api';
-}
+var PRO_JS = "pro/js/pro.api";
+// Comment this line to test the pro version if available
+if(PRO == "false" || PRO == "@@PROVERSION") { PRO_JS = 'js/pro'; }
console.log("Loading Loader - Firefox: "+isFirefox+" | ChromeExt: "+isChrome+" | Node: "+isNode+" | Cordova: "+isCordova+" | Web: "+isWeb+" | isWin: "+isWin);