diff options
author | Mario <mario@mariovavti.com> | 2020-11-14 21:28:50 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-14 21:28:50 +0000 |
commit | b63c5f27853aded30c492bdb94a680e5a9c9648b (patch) | |
tree | 0d5036dec62e5a3b4abdb34df6993e7634dddf5e /view/tpl/head.tpl | |
parent | 685c569eaf094fd7f354bd3fa8026ecefadfa590 (diff) | |
download | volse-hubzilla-b63c5f27853aded30c492bdb94a680e5a9c9648b.tar.gz volse-hubzilla-b63c5f27853aded30c492bdb94a680e5a9c9648b.tar.bz2 volse-hubzilla-b63c5f27853aded30c492bdb94a680e5a9c9648b.zip |
Polling fallback to server sent events. Polling is the default. SSE must be enabled in /admin/site > Advanced > Enable SSE Notifications if desired.
Diffstat (limited to 'view/tpl/head.tpl')
-rwxr-xr-x | view/tpl/head.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index bd4cf3747..0d212e029 100755 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -9,6 +9,7 @@ {{$plugins}} <script> var updateInterval = {{$update_interval}}; + var sse_enabled = {{$sse_enabled}}; var localUser = {{if $local_channel}}{{$local_channel}}{{else}}false{{/if}}; var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}}; var justifiedGalleryActive = false; |