File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -7469,7 +7469,8 @@ if (cookieConsentNotice) {
74697469 cookieConsentConfigScript . removeAttribute ( 'data-config' ) ;
74707470 cookieConsentNotice . removeAttribute ( 'data-text' ) ;
74717471 setTimeout ( function ( ) {
7472- return cookieConsentNotice . classList . remove ( 'cookies--closing' ) ;
7472+ cookieConsentNotice . classList . remove ( 'cookies--closing' ) ;
7473+ cookieConsentNotice . style . transitionDuration = "200ms" ;
74737474 } , 110 ) ;
74747475 } ) ;
74757476}
Original file line number Diff line number Diff line change 77 max-width : 100% ;
88 overflow : auto;
99 z-index : 9999 ;
10- transition : transform 200 ms ease-out, opacity 200 ms ease-out;
10+ transition : transform 0 ms ease-out, opacity 0 ms ease-out;
1111}
1212# cookies-policy .cookies--closing {
1313 opacity : 0 ;
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ if (cookieConsentNotice) {
1818 cookieConsentConfigScript . removeAttribute ( 'data-config' ) ;
1919 cookieConsentNotice . removeAttribute ( 'data-text' ) ;
2020
21- setTimeout ( ( ) => cookieConsentNotice . classList . remove ( 'cookies--closing' ) , 110 ) ;
21+ setTimeout ( ( ) => {
22+ cookieConsentNotice . classList . remove ( 'cookies--closing' ) ;
23+ cookieConsentNotice . style . transitionDuration = "200ms" ;
24+ } , 110 ) ;
2225 } ) ;
2326}
Original file line number Diff line number Diff line change 77 max-width : 100% ;
88 overflow : auto ;
99 z-index : 9999 ;
10- transition : transform 200 ms ease-out ,
11- opacity 200 ms ease-out ;
10+ transition : transform 0 ms ease-out ,
11+ opacity 0 ms ease-out ;
1212
1313 & --closing {
1414 opacity : 0 ;
You can’t perform that action at this time.
0 commit comments