aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorDM42.Net Hubzilla Development <hzdev@dm42.net>2019-11-28 00:27:12 -0500
committerDM42.Net Hubzilla Development <hzdev@dm42.net>2019-11-28 00:27:12 -0500
commitc86b35da701674510a97ccc21e46581bd864cc31 (patch)
tree840a17f2f4a39e627578fe2bbc9c518cc04ab790 /view/tpl
parentb2003e2c3cac231f92a23331bdbd21721403d4c9 (diff)
downloadvolse-hubzilla-c86b35da701674510a97ccc21e46581bd864cc31.tar.gz
volse-hubzilla-c86b35da701674510a97ccc21e46581bd864cc31.tar.bz2
volse-hubzilla-c86b35da701674510a97ccc21e46581bd864cc31.zip
Move auto_save_draft to header from thread comment
Diffstat (limited to 'view/tpl')
-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>