Skip to content

Commit f97b59d

Browse files
committed
MC-18709: [WYSIWYG]Spinner is Always Displayed on Media Gallery popup
1 parent ebb48f8 commit f97b59d

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

lib/web/mage/loader.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,7 @@ define([
6969
show: function (e, ctx) {
7070
this._render();
7171
this.loaderStarted++;
72-
73-
if (this.loaderStarted === 1) {
74-
this.spinner.show();
75-
}
72+
this.spinner.show();
7673

7774
if (ctx) {
7875
this.spinner

lib/web/mage/loader_old.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@
8181
show: function (e, ctx) {
8282
this._render();
8383
this.loaderStarted++;
84-
85-
if (this.loaderStarted === 1) {
86-
this.spinner.show();
87-
}
84+
this.spinner.show();
8885

8986
if (ctx) {
9087
this.spinner

0 commit comments

Comments
 (0)