Skip to content

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

adding new viriable for debugging

uggrockdd25dc621062
diff --git a/data/js/extension.manager.js b/data/js/extension.manager.js
index 7a68b3967..997dd8809 100644
--- a/data/js/extension.manager.js
+++ b/data/js/extension.manager.js
@@ -19,7 +19,8 @@ define(function(require, exports, module) {
return chrome.extension.getURL(extPath);
}
if (isWin) {
- return location.href.replace(/file:\/\/\//gi, "").replace(/index.html/gi, extPath);
+ var extRealPath = location.href.replace(/file:\/\/\//gi, "").replace(/index.html/gi, extPath);
+ return extRealPath;
}
return location.href.replace(/file:\/\//gi, "").replace(/index.html/gi, extPath);
}