Skip to content

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

js styling

uggrock3d5c14bed20b
diff --git a/data/web/web.api.js b/data/web/web.api.js
index 17ed32175..5e0955475 100644
--- a/data/web/web.api.js
+++ b/data/web/web.api.js
@@ -145,10 +145,10 @@ define(function(require, exports, module) {
}
}
resolve(anotatedDirList);
- }
+ };
- if(dirPath.substring(dirPath.length-1) !== "/") {
- dirPath = dirPath + "/"
+ if (dirPath.substring(dirPath.length - 1) !== "/") {
+ dirPath = dirPath + "/";
}
dirPath = encodeURI(dirPath);