File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4788,6 +4788,7 @@ body {
47884788.ctas .btn .installed ::before {
47894789 content : 'Open' ;
47904790 width : auto;
4791+ transition : none;
47914792}
47924793
47934794.ctas .btn .cookies {
Original file line number Diff line number Diff line change @@ -118,17 +118,18 @@ document.querySelectorAll('.btn.install').forEach(button => {
118118 button . addEventListener ( 'click' , installPWA ) ;
119119
120120 button . classList . remove ( 'loading' ) ;
121+ button . classList . add ( 'installed' ) ;
121122
122123 if ( ! checkLocalStorage ( ) ) {
123124
124- button . classList . add ( 'installed' ) ;
125+ // button.classList.add('installed');
125126 button . classList . add ( 'cookies' ) ;
126127
127128 } else {
128129
129130 if ( localStorage . getItem ( 'installed' ) ) {
130131
131- button . classList . add ( 'installed' ) ;
132+ // button.classList.add('installed');
132133
133134 }
134135
You can’t perform that action at this time.
0 commit comments