about summary refs log tree commit diff
path: root/app/views/home/index.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-24 13:47:51 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-24 13:47:51 +0200
commitdb6df6ddb3448a28c56dff08e6442e4109e6fab2 (patch)
tree18633899b91673c15965158a7f5449eb7911aaf8 /app/views/home/index.html.haml
parent57583f3fb8a609dab90b2c35f569d8feee655bd7 (diff)
Only load JS on homepage, no other page uses it
Diffstat (limited to 'app/views/home/index.html.haml')
-rw-r--r--app/views/home/index.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml
index f06c26e9d..498fae105 100644
--- a/app/views/home/index.html.haml
+++ b/app/views/home/index.html.haml
@@ -1 +1,4 @@
+- content_for :header_tags do
+  = javascript_include_tag 'application'
+
 = react_component 'Mastodon', default_props, class: 'app-holder', prerender: false