Skip to content

Commit f72d022

Browse files
committed
Update homepage.js
1 parent 0235952 commit f72d022

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

homepage/homepage.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)