diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index fa4d760a20e..afcc2b6e4f3 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -35,8 +35,6 @@
= webpack_bundle_tag "main"
= webpack_bundle_tag "raven" if current_application_settings.clientside_sentry_enabled
- = current_application_settings.clientside_sentry_enabled
-
- if content_for?(:page_specific_javascripts)
= yield :page_specific_javascripts