Skip to content

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

fixing styling

uggrock7fca5805f007
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index eba03bbe7..2eeb3a7b9 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -277,14 +277,14 @@ define(function(require, exports, module) {
if (TSPRO.available) {
TSPRO.getThumbnailURL($element.attr('filepath'), function(dataURL) {
$element.attr('src', dataURL);
- if( $tiltleElem.length -1 === index) {
+ if (($tiltleElem.length - 1) === index) {
TSCORE.hideLoadingAnimation();
}
});
} else {
generateThumbnail($element.attr('filepath'), function(dataURL) {
$element.attr('src', dataURL);
- if( $tiltleElem.length -1 === index) {
+ if (($tiltleElem.length - 1) === index) {
TSCORE.hideLoadingAnimation();
}
});