Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0b52149

Browse files
swconfig fix
1 parent 94dd4d6 commit 0b52149

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎client/src/swConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ function updater(registration) {
1616
if (registration && registration.waiting) {
1717
registration.waiting.addEventListener("statechange", event => {
1818
if (event.target.state === "activated") {
19-
alert('New version available! Ready to update?')
20-
window.location.reload()
19+
alert('New version available! Ready to update?')
20+
window.location.reload(true)
2121
console.info('service worker updated')
2222
}
2323
})

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /