govuk_template_ejs
Advanced tools
Comparing version 0.14.1 to 0.14.2
@@ -80,16 +80,2 @@ (function () { | ||
// fix for printing bug in Windows Safari | ||
var windowsSafari = (window.navigator.userAgent.match(/(\(Windows[\s\w\.]+\))[\/\(\s\w\.\,\)]+(Version\/[\d\.]+)\s(Safari\/[\d\.]+)/) !== null), | ||
style; | ||
if (windowsSafari) { | ||
// set the New Transport font to Arial for printing | ||
style = document.createElement('style'); | ||
style.setAttribute('type', 'text/css'); | ||
style.setAttribute('media', 'print'); | ||
style.innerHTML = '@font-face { font-family: nta !important; src: local("Arial") !important; }'; | ||
document.getElementsByTagName('head')[0].appendChild(style); | ||
} | ||
// add cookie message | ||
@@ -96,0 +82,0 @@ if (window.GOVUK && GOVUK.addCookieMessage) { |
{ | ||
"name": "govuk_template_ejs", | ||
"version": "0.14.1", | ||
"version": "0.14.2", | ||
"description": "Embedded JavaScript packaged version of the GOV.UK template", | ||
@@ -5,0 +5,0 @@ "keywords": ["alphagov", "govuk", "ejs", "template"], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
726921
38
6044