about summary refs log tree commit diff
path: root/app/views/shares
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-16 19:15:05 +0200
committerGitHub <noreply@github.com>2019-08-16 19:15:05 +0200
commite5cee8062f15191d9dd388a65f6caa104abfd559 (patch)
tree0a55913ac7e3f6535bbf43bac7b3342910e3784b /app/views/shares
parent70da6d663078fb7d04aed387ac085afb2e9e2cd2 (diff)
Fix blurhash and autoplay not working on public pages (#11585)
Diffstat (limited to 'app/views/shares')
-rw-r--r--app/views/shares/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shares/show.html.haml b/app/views/shares/show.html.haml
index 44b6f145f..f2f5479a7 100644
--- a/app/views/shares/show.html.haml
+++ b/app/views/shares/show.html.haml
@@ -1,5 +1,5 @@
 - content_for :header_tags do
-  %script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
+  = render_initial_state
   = javascript_pack_tag 'share', integrity: true, crossorigin: 'anonymous'
 
 #mastodon-compose{ data: { props: Oj.dump(default_props) } }