Skip to content

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

js styling

Iliana36b593c5380
diff --git a/data/web/web.api.js b/data/web/web.api.js
index 3166ccf32..3cb0985a6 100644
--- a/data/web/web.api.js
+++ b/data/web/web.api.js
@@ -292,13 +292,13 @@ define(function(require, exports, module) {
var ajax = davClient.getAjax("GET", filePath);
ajax.onreadystatechange = null;
ajax.onload = function() {
- if(ajax.response.byteLength !== null) {
+ if (ajax.response.byteLength !== null) {
result(ajax.response);
} else {
error(ajax.responseText);
}
};
- ajax.responseType= "arraybuffer";
+ ajax.responseType = "arraybuffer";
ajax.send();
};