aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/offline.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/offline.js b/web/cobrands/fixmystreet/offline.js
new file mode 100644
index 000000000..4b3373029
--- /dev/null
+++ b/web/cobrands/fixmystreet/offline.js
@@ -0,0 +1,5 @@
+if (!$('#offline_list').length) {
+ if (window.applicationCache && window.localStorage) {
+ $(document.body).prepend('<iframe src="/offline/appcache" style="position:absolute;top:-999em;visibility:hidden"></iframe>');
+ }
+}