Skip to content

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

hide loading animation from old functionality

Borislav Sapundzhiev13ce35b9f9a3
diff --git a/data/ext/perspectiveGrid/perspectiveUI.js b/data/ext/perspectiveGrid/perspectiveUI.js
index 3a76ad55a..5bd61081c 100644
--- a/data/ext/perspectiveGrid/perspectiveUI.js
+++ b/data/ext/perspectiveGrid/perspectiveUI.js
@@ -288,9 +288,9 @@ define(function(require, exports, module) {
ExtUI.prototype.enableThumbnails = function() {
$("#" + this.extensionID + "IncreaseThumbsButton").prop('disabled', false);
- TSCORE.showLoadingAnimation();
+ /*TSCORE.showLoadingAnimation();
var $tiltleElem = $("#" + this.extensionID + "Container .thumbImgTile");
- /*$tiltleElem.each(function(index) {
+ $tiltleElem.each(function(index) {
var $element = $(this);
if (TSPRO.available) {
TSPRO.getThumbnailURL($element.attr('filepath'), function(dataURL) {
@@ -321,11 +321,11 @@ define(function(require, exports, module) {
}
}
$element.attr('style', "");
- });*/
+ });
$('.thumbImgTile').css({
"max-width": TMB_SIZES[this.currentTmbSize],
"max-height": TMB_SIZES[this.currentTmbSize]
- });
+ });*/
};
function generateThumbnail(fileURL, result) {