Skip to content

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

js styling

uggrockb5c2c717f9e4
diff --git a/data/js/directories.ui.js b/data/js/directories.ui.js
index 8ff6ea0f7..a8d926970 100644
--- a/data/js/directories.ui.js
+++ b/data/js/directories.ui.js
@@ -103,8 +103,7 @@ define(function(require, exports, module) {
// Saving the last opened location path in the settings
TSCORE.Config.setLastOpenedLocation(path);
- if ($('#defaultLocation').prop('checked') === true
- || $('#defaultLocationEdit').prop('checked') === true) {
+ if ($('#defaultLocation').prop('checked') === true || $('#defaultLocationEdit').prop('checked') === true) {
console.log("set default path " + path);
TSCORE.Config.setDefaultLocation(path);
$('#defaultLocation').prop('checked', false);