Skip to content

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

js styling

uggrock262429e6fc43
diff --git a/data/chromium/chrome.api.js b/data/chromium/chrome.api.js
index 8e20b596c..b50f9b20e 100644
--- a/data/chromium/chrome.api.js
+++ b/data/chromium/chrome.api.js
@@ -42,7 +42,7 @@ define(function(require, exports, module) {
if (filePath && (filePath.length > 0)) {
filePath = decodeURIComponent(filePath);
console.log("Opening file in browser: " + filePath);
- if(filePath.indexOf("file://") >= 0) {
+ if (filePath.indexOf("file://") >= 0) {
filePath = filePath.split("file://")[1];
}
TSCORE.FileOpener.openFileOnStartup(filePath);