diff options
author | Mario <mario@mariovavti.com> | 2020-11-21 20:15:05 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-21 20:15:05 +0000 |
commit | 7639157a4907e9dbdffe6dd24f4f687f4cce6f01 (patch) | |
tree | e4d22a7f385fe1fbe0ca182aa9c116b1d0030343 /view/tpl | |
parent | f74cfaec5f48ec37cc1f51e5381a45998ebc70e3 (diff) | |
download | volse-hubzilla-7639157a4907e9dbdffe6dd24f4f687f4cce6f01.tar.gz volse-hubzilla-7639157a4907e9dbdffe6dd24f4f687f4cce6f01.tar.bz2 volse-hubzilla-7639157a4907e9dbdffe6dd24f4f687f4cce6f01.zip |
restrict returned html usage to local_channel() until some issues will be worked out
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/head.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index 0d212e029..ecb30afd3 100755 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -14,7 +14,7 @@ var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}}; var justifiedGalleryActive = false; {{if $channel_hash}}var channelHash = '{{$channel_hash}}';{{/if}} - {{if $channel_id}}var channelId = '{{$channel_id}}';{{/if}}{{* Used in e.g. autocomplete *}} + var channelId = {{if $channel_id}}{{$channel_id}}{{else}}false{{/if}};{{* Used in e.g. autocomplete *}} var preloadImages = {{$preload_images}}; var auto_save_draft = {{$auto_save_draft}}; </script> |