Skip to content

Commit 2f41e35

Browse files
committed
Update homepage.js
1 parent ccac6a4 commit 2f41e35

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

homepage/homepage.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,12 @@ document.querySelectorAll('.btn.install').forEach(button => {
128128
} else {
129129

130130
if (localStorage.getItem('installed')) {
131-
132-
//button.classList.add('installed');
131+
132+
if ((new URL('https://codeit.codes/?p').search) !== '?p') {
133+
134+
window.location.href = window.location.origin + '/full';
135+
136+
}
133137

134138
}
135139

0 commit comments

Comments
 (0)