aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-28 09:30:57 +0100
committerMario <mario@mariovavti.com>2019-11-28 09:30:57 +0100
commitf2c73c0f45787a361f9fd57831a00c34e660fbd9 (patch)
treee99d7e74db23a916cba86a1527f6fcee82a0c2b3 /view
parent78492d0037aacb829dd0cea13526f3631e8cf945 (diff)
parentc86b35da701674510a97ccc21e46581bd864cc31 (diff)
downloadvolse-hubzilla-f2c73c0f45787a361f9fd57831a00c34e660fbd9.tar.gz
volse-hubzilla-f2c73c0f45787a361f9fd57831a00c34e660fbd9.tar.bz2
volse-hubzilla-f2c73c0f45787a361f9fd57831a00c34e660fbd9.zip
Merge branch 'fix-listmode-spinner' into 'dev'
Move auto_save_draft to header from thread comment See merge request hubzilla/core!1793
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/comment_item.tpl3
-rwxr-xr-xview/tpl/head.tpl1
2 files changed, 1 insertions, 3 deletions
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl
index 23594677c..3b51971ec 100755
--- a/view/tpl/comment_item.tpl
+++ b/view/tpl/comment_item.tpl
@@ -1,6 +1,3 @@
- <script>
- var auto_save_draft = {{$auto_save_draft}};
- </script>
{{if $threaded}}
<div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;">
{{else}}
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl
index 5f874426c..bd4cf3747 100755
--- a/view/tpl/head.tpl
+++ b/view/tpl/head.tpl
@@ -15,6 +15,7 @@
{{if $channel_hash}}var channelHash = '{{$channel_hash}}';{{/if}}
{{if $channel_id}}var channelId = '{{$channel_id}}';{{/if}}{{* Used in e.g. autocomplete *}}
var preloadImages = {{$preload_images}};
+ var auto_save_draft = {{$auto_save_draft}};
</script>