Skip to content

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

js styling

uggrock295fa48e9585
diff --git a/data/web/web.api.js b/data/web/web.api.js
index c472df902..c7771a86f 100644
--- a/data/web/web.api.js
+++ b/data/web/web.api.js
@@ -234,7 +234,7 @@ define(function(require, exports, module) {
encodeURI(path),
function(status, data, headers) {
console.log("Directory/File Deletion Status/Content/Headers: " + status + " / " + data + " / " + headers);
- if(status === 204) {
+ if (status === 204) {
TSPOSTIO.deleteElement(path);
} else {
TSCORE.showAlertDialog("Deletion of the file failed");