File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed
Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change 3535 < meta name ="next-head-count " content ="24 ">
3636 < meta name ="robots " content ="all ">
3737 < script > if ( top !== window ) { window . location . href = '/redirect' } </ script >
38+ < script >
39+
40+ if ( localStorage . getItem ( 'installed' ) ) {
41+
42+ if ( ( new URL ( window . location . href ) . search ) !== '?p' ) {
43+
44+ window . location . replace ( window . location . origin + '/full' ) ;
45+
46+ }
47+
48+ }
49+
50+ </ script >
3851 < script defer data-domain ="codeit.codes " src ="https://plausible.io/js/plausible.js "> </ script >
39-
52+
4053 < link rel ="shortcut icon " href ="/icons/android-app-512.png ">
4154 < link rel ="apple-touch-icon " href ="/icons/iphone-app-180.png ">
4255
@@ -269,18 +282,6 @@ <h2 class="color-1 weight-title-h font-title section__title center">A codeful of
269282
270283 button . classList . add ( 'cookies' ) ;
271284
272- } else {
273-
274- if ( localStorage . getItem ( 'installed' ) ) {
275-
276- if ( ( new URL ( window . location . href ) . search ) !== '?p' ) {
277-
278- window . location . replace ( window . location . origin + '/full' ) ;
279-
280- }
281-
282- }
283-
284285 }
285286
286287} ) ;
@@ -343,7 +344,7 @@ <h2 class="color-1 weight-title-h font-title section__title center">A codeful of
343344
344345</ script >
345346
346- < script src ="/manifest.js "> </ script >
347+ < script src ="/manifest.js "> </ script >
347348
348349</ body >
349350
You can’t perform that action at this time.
0 commit comments