2 <div v-if="offline" class="offline-message">
3 <i class="far fa-dizzy"></i>
6 <span @click="checkOffline"> <i class="fas fa-redo-alt"></i></span>
13 name: "ConnectivityChecker",
19 created: function () {
23 document.addEventListener(
26 if (document.visibilityState == "visible") {
34 checkOffline: function () {
36 return fetch(window.location.href + "?alive", {
46 .finally(function () {
47 that.$emit("network-status-update", that.offline);