File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
plugins/star-rating/frontend/public/templates Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 3636 >
3737 </ div >
3838 < div class ="modal-content ">
39- < div class ="modal-content__top ">
40- < div
41- class ="close-button "
42- id ="close-btn "
43- >
44- < i class ="ion-ios-close-empty "> </ i >
45- </ div >
39+ < div
40+ class ="close-button "
41+ id ="close-btn "
42+ >
43+ < i class ="ion-ios-close-empty "> </ i >
4644 </ div >
4745 < p id ="question-area ">
4846 What is your opinion
482480 if ( ! isCloseButtonVisible ) {
483481 $ ( CLOSE_BUTTON_ID ) . hide ( ) ;
484482 }
485- else {
483+ else if ( $ ( CLOSE_BUTTON_ID ) . is ( ':hidden' ) ) {
486484 $ ( CLOSE_BUTTON_ID ) . show ( ) ;
487485 }
488486
677675 // rate for feedback
678676 $ ( 'body' ) . on ( 'click' , '.rating-emotion' , rate ) ;
679677 // event handler for popup closer
680- $ ( 'body' ) . on ( 'click' , '#close-btn' , closeHandler ) ;
678+ $ ( 'body' ) . on ( 'click' , CLOSE_BUTTON_ID , closeHandler ) ;
681679 } ) ( ) ;
682680 </ script >
683681 < % if (themeFiles && themeFiles.js) { %>
You can’t perform that action at this time.
0 commit comments