Skip to content

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

js style check

uggrock6a5347a27b7b
diff --git a/data/js/ext.api.js b/data/js/ext.api.js
index c0dd3ff08..ee3610ff6 100644
--- a/data/js/ext.api.js
+++ b/data/js/ext.api.js
@@ -22,7 +22,7 @@ define(function(require, exports, module) {
}
function openLinkExternally(url) {
- if (url.indexOf("http://") === 0 || url.indexOf("https://") === 0 || url.indexOf("file://") === 0 ) {
+ if (url.indexOf("http://") === 0 || url.indexOf("https://") === 0 || url.indexOf("file://") === 0) {
TSCORE.openLinkExternally(url);
} else {
console.log("Not supported URL format: " + url);