Skip to content

Commit ac8eaeb

Browse files
authored
Update homepage.js
1 parent de47a1c commit ac8eaeb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

homepage/homepage.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,10 @@ document.querySelectorAll('.btn.install').forEach(button => {
116116

117117
button.addEventListener('click', installPWA);
118118

119-
if (isSafari || !isMobile) {
119+
if (isSafari) {
120120

121121
button.classList.remove('loading');
122122

123-
// save installation in local storage
124-
localStorage.setItem('installed', 'true');
125-
126123
}
127124

128125
if (!checkLocalStorage()) {

0 commit comments

Comments
 (0)