+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/brutaldon/templates/base.html b/brutaldon/templates/base.html
index bdf8fc9..f23e2d3 100644
--- a/brutaldon/templates/base.html
+++ b/brutaldon/templates/base.html
@@ -213,10 +213,6 @@
document.addEventListener('DOMContentLoaded', menuPrepare);
$(document).on('handle.onpopstate.ic',
restorePlace);
- Intercooler.ready(function ()
- {
- $(".attachments").photobox('a', { history: true });
- });
if (navigator.serviceWorker.controller) {
console.log('[PWA Builder] active service worker found, no need to register')
} else {
@@ -228,6 +224,12 @@
console.log('Service worker has been registered for scope:'+ reg.scope);
});
}
+ Intercooler.ready(function ()
+ {
+ $(".attachments").photobox('a', { history: true });
+ var refresh = new Event('refreshOffline');
+ self.dispatchEvent(refresh);
+ });
{% block page_scripts_inline %}
{% endblock %}
Brutaldon
+a brutalist web interface for Mastodon
++ Either you are offline currently, or brutaldon is down. Please try again later. +
+ + +