Load the offline image quietly in the background
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2019-10-17 21:54:05 +02:00
parent 3211e1e8ea
commit 52bdae90d3
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
<template>
<div>
<div v-if="isOnline">
<!-- This is a workaround to get the sw to "see" the to-be-cached version of the offline background image -->
<div class="offline" style="height: 0;width: 0;"></div>
<nav class="navbar main-theme is-fixed-top" role="navigation" aria-label="main navigation"
v-if="user.authenticated && user.infos.type === authTypes.USER">
<div class="navbar-brand">