Skip to content

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

fixing js styling

uggrock5592ce7f41cd
diff --git a/data/ext/perspectiveGrid/extension.js b/data/ext/perspectiveGrid/extension.js
index cc07c4d01..4be31de08 100644
--- a/data/ext/perspectiveGrid/extension.js
+++ b/data/ext/perspectiveGrid/extension.js
@@ -61,7 +61,7 @@ define(function(require, exports, module) {
};
var clearSelectedFiles = function() {
- if(UI) {
+ if (UI) {
UI.clearSelectedFiles();
UI.handleElementActivation();
}
diff --git a/data/ext/perspectiveImageSwiper/extension.js b/data/ext/perspectiveImageSwiper/extension.js
index 96fc9c26d..bc74dc69e 100644
--- a/data/ext/perspectiveImageSwiper/extension.js
+++ b/data/ext/perspectiveImageSwiper/extension.js
@@ -51,10 +51,10 @@ define(function(require, exports, module) {
var load = function() {
console.log("Loading perspective " + extensionID);
$viewContainer.children().remove();
- extensionLoaded.then(function(){
+ extensionLoaded.then(function() {
UI.load($viewContainer, template, TSCORE.fileList);
TSCORE.hideLoadingAnimation();
- })
+ });
};
var clearSelectedFiles = function() {};
diff --git a/data/ext/perspectiveList/extension.js b/data/ext/perspectiveList/extension.js
index c956b7ddc..3f762278e 100644
--- a/data/ext/perspectiveList/extension.js
+++ b/data/ext/perspectiveList/extension.js
@@ -102,7 +102,7 @@ define(function(require, exports, module) {
};
var clearSelectedFiles = function() {
- if(UI) {
+ if (UI) {
UI.clearSelectedFiles();
UI.handleElementActivation();
}