🎨 (fab) update fab button z index to overlap bulma select dropdown icon
This commit is contained in:
@@ -25,10 +25,7 @@ if (process.env.NODE_ENV === 'production') {
|
||||
registrationOptions: {},
|
||||
ready() {
|
||||
notif.success('Application mise à jour !')
|
||||
console.log(
|
||||
'App is being served from cache by a service worker.\n' +
|
||||
'For more details, visit https://goo.gl/AFskqB'
|
||||
)
|
||||
console.log('App is being served from cache by a service worker.')
|
||||
},
|
||||
cached() {
|
||||
console.log('Content has been cached for offline use.')
|
||||
@@ -54,6 +51,7 @@ if (process.env.NODE_ENV === 'production') {
|
||||
},
|
||||
updated() {
|
||||
console.log('New content is available; please refresh.')
|
||||
location.reload(true)
|
||||
},
|
||||
offline() {
|
||||
console.log(
|
||||
@@ -64,12 +62,4 @@ if (process.env.NODE_ENV === 'production') {
|
||||
console.error('Error during service worker registration:', error)
|
||||
}
|
||||
})
|
||||
let refreshing: any | undefined
|
||||
navigator.serviceWorker.addEventListener('controllerchange', () => {
|
||||
if (refreshing) {
|
||||
return
|
||||
}
|
||||
window.location.reload()
|
||||
refreshing = true
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user