File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ export async function show(
4848 $ ( "#wordFilterPopup .languageInput" ) . select2 ( {
4949 width : "100%" ,
5050 } ) ;
51+ $ ( "#wordFilterPopupWrapper .loadingIndicator" ) . addClass ( "hidden" ) ;
52+ $ ( "#wordFilterPopupWrapper .button" ) . removeClass ( "hidden" ) ;
5153
5254 $ ( "#wordFilterPopupWrapper" )
5355 . stop ( true , true )
@@ -154,10 +156,7 @@ $("#wordFilterPopupWrapper .button").on("mousedown", (e) => {
154156 $ ( "#wordFilterPopupWrapper .loadingIndicator" ) . removeClass ( "hidden" ) ;
155157 $ ( "#wordFilterPopupWrapper .button" ) . addClass ( "hidden" ) ;
156158 setTimeout ( ( ) => {
157- apply ( $ ( e . target ) . is ( "#set" ) ) . then ( ( ) => {
158- $ ( "#wordFilterPopupWrapper .loadingIndicator" ) . addClass ( "hidden" ) ;
159- $ ( "#wordFilterPopupWrapper .button" ) . removeClass ( "hidden" ) ;
160- } ) ;
159+ apply ( $ ( e . target ) . is ( "#set" ) ) ;
161160 } , 1 ) ;
162161} ) ;
163162
You can’t perform that action at this time.
0 commit comments