diff options
| author | Tulir Asokan <tulir@maunium.net> | 2020-09-10 15:28:38 +0300 |
|---|---|---|
| committer | Tulir Asokan <tulir@maunium.net> | 2020-09-10 15:28:49 +0300 |
| commit | 3045faaed89118a9bbf38a6370416839c5c42a2e (patch) | |
| tree | f01769f91ba00386150e061cf9ed2845007a43c2 /web/index.js | |
| parent | df75622fdacbae6a412e6ca384c0db5da069ae55 (diff) | |
Add another hacky fix for iOS
Diffstat (limited to 'web/index.js')
| -rw-r--r-- | web/index.js | 2 |
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"> |
