From db6df6ddb3448a28c56dff08e6442e4109e6fab2 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 24 Sep 2016 13:47:51 +0200 Subject: Only load JS on homepage, no other page uses it --- app/views/layouts/application.html.haml | 1 - 1 file changed, 1 deletion(-) (limited to 'app/views/layouts') diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 1746d9964..8cb062cfb 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -6,7 +6,6 @@ = "#{yield(:page_title)} - " if content_for?(:page_title) Mastodon = stylesheet_link_tag 'application', media: 'all' - = javascript_include_tag 'application' = csrf_meta_tags = yield :header_tags %body{ class: @body_classes } -- cgit