🎨 (fab) update fab button z index to overlap bulma select dropdown icon

This commit is contained in:
Julien Calixte
2020-03-14 22:10:28 +01:00
parent 649ce4eb31
commit 1911b30f98
2 changed files with 19 additions and 24 deletions

View File

@@ -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
})
}