summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-07 00:09:52 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-07 00:09:52 +0000
commit3c9c771dcf7886832c57cfedb14dd2c0bc70e706 (patch)
treea92af9d26bb4d76d99e53c16596097bfcfa03d78 /app/helpers
parent0790cf032c70b3df250e1953a3a11b71d835c5a1 (diff)
downloadgitlab-ce-3c9c771dcf7886832c57cfedb14dd2c0bc70e706.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
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