aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-09-10 15:28:38 +0300
committerTulir Asokan <tulir@maunium.net>2020-09-10 15:28:49 +0300
commit3045faaed89118a9bbf38a6370416839c5c42a2e (patch)
treef01769f91ba00386150e061cf9ed2845007a43c2
parentdf75622fdacbae6a412e6ca384c0db5da069ae55 (diff)
Add another hacky fix for iOS
-rw-r--r--web/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/index.js b/web/index.js
index c116130..6a90d54 100644
--- a/web/index.js
+++ b/web/index.js
@@ -169,7 +169,7 @@ class App extends Component {
}
}
-const reload = () => window.location.reload()
+const reload = () => isMobileSafari ? (window.location.href = window.location.href) : window.location.reload()
const Settings = () => html`
<section class="stickerpack settings" id="pack-settings" data-pack-id="settings">
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage