Skip to content

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

beautifying code

Ilian9395861f8d24
diff --git a/data/js/options.ui.js b/data/js/options.ui.js
index cc87ecf05..88acce3fa 100644
--- a/data/js/options.ui.js
+++ b/data/js/options.ui.js
@@ -127,10 +127,12 @@
).i18n();
TSCORE.Config.getSupportedFileTypes().sort(function(a, b){
- if (a.type > b.type)
+ if (a.type > b.type) {
return 1;
- if (a.type < b.type)
+ }
+ if (a.type < b.type) {
return -1;
+ }
return 0;
}).forEach(function (value) {
addFileType($('#fileTypesList'), value.type, value.viewer, value.editor);