Skip to content

Commit

Permalink
Update print page behaviour
Browse files Browse the repository at this point in the history
- Print dialogue window now opens when visiting print page.
- This is to mitigate against difficulties some users had with the behaviour of the print page.

https://www.pivotaltracker.com/story/show/72951212
  • Loading branch information
brenetic committed Jul 10, 2014
1 parent b33b8e6 commit a23488c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/root/print.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta name="robots" content="noindex, nofollow">

<%= stylesheet_link_tag 'guides-print', media: 'all' %>
<script type="text/javascript">
window.onload = function() { window.print(); }
</script>
</head>
<body>
<header role="banner" class="group" id="global-header">
Expand Down

0 comments on commit a23488c

Please sign in to comment.