File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -261,10 +261,3 @@ label:hover input[type="checkbox"] {
261261 opacity : 0.7 ;
262262 pointer-events : none;
263263}
264-
265- /* Skip info styling */
266- .skip-info {
267- font-size : 11px ;
268- color : # 9ca3af ;
269- margin-top : 2px ;
270- }
Original file line number Diff line number Diff line change @@ -46,11 +46,19 @@ const LoadingManager = {
4646 } ,
4747
4848 hide ( ) {
49+ if ( this . hideTimeout ) {
50+ clearTimeout ( this . hideTimeout ) ;
51+ this . hideTimeout = null ;
52+ }
4953 if ( this . container ) this . container . classList . remove ( "active" ) ;
5054 if ( runButton ) runButton . classList . remove ( "loading" ) ;
5155 } ,
5256
5357 showError ( message = "Error" ) {
58+ if ( this . hideTimeout ) {
59+ clearTimeout ( this . hideTimeout ) ;
60+ this . hideTimeout = null ;
61+ }
5462 if ( this . spinner ) {
5563 this . spinner . classList . add ( "error" ) ;
5664 this . spinner . classList . remove ( "success" ) ;
@@ -60,6 +68,10 @@ const LoadingManager = {
6068 } ,
6169
6270 showSuccess ( message = "Done!" ) {
71+ if ( this . hideTimeout ) {
72+ clearTimeout ( this . hideTimeout ) ;
73+ this . hideTimeout = null ;
74+ }
6375 if ( this . spinner ) {
6476 this . spinner . classList . add ( "success" ) ;
6577 this . spinner . classList . remove ( "error" ) ;
You can’t perform that action at this time.
0 commit comments