Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
freegoogledrive authored Apr 21, 2024
1 parent 830e76b commit ac464c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1>PLEASE ADD TO HOMESCREEN</h1>
<script>
var standalone = document.getElementById("standalone");
var webpage = document.getElementById("webpage");
if (window.navigator.standalone || !(/iPad|iPhone|iPod|Mac/.test(navigator.userAgent))) {
if (window.navigator.standalone) {
standalone.style.display = "block"; // show standalone div
webpage.style.display = "none"; // hide webpage div
}
Expand Down

0 comments on commit ac464c9

Please sign in to comment.