From 58509be5dac2749980b7f9e7b60ab8709960e3cd Mon Sep 17 00:00:00 2001 From: Ilya Guterman Date: Wed, 29 Jul 2020 12:55:52 +0300 Subject: [PATCH] fix missing blackbox animation .data-loading is for loading tab and blackbox erase, but when tab loading finished it removes all .data-loading elements --- js/gui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gui.js b/js/gui.js index 3af1dd34..67cb8ebe 100644 --- a/js/gui.js +++ b/js/gui.js @@ -193,7 +193,7 @@ GUI_control.prototype.content_ready = function (callback) { }); const duration = content.data('empty') ? 0 : 400; - $('#content .data-loading').fadeOut(duration, function() { + $('#content .data-loading:first').fadeOut(duration, function() { $(this).remove(); }); if (callback) {