From 3c9c771dcf7886832c57cfedb14dd2c0bc70e706 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 7 Aug 2020 00:09:52 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers') diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c73cfbcfd22..7cf68b26eab 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -237,7 +237,7 @@ module ApplicationHelper def stylesheet_link_tag_defer(path) if use_startup_css? - stylesheet_link_tag(path, media: "print", onload: "this.onload=null;this.media='all'") + stylesheet_link_tag(path, media: "print") else stylesheet_link_tag(path, media: "all") end -- cgit v1.2.1