add tags svgs to script

This commit is contained in:
Heydon Pickering 2017-08-10 17:12:24 +01:00
parent 1ce362c82f
commit d43628190f
3 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@
(function () {
if (window.matchMedia('(-ms-high-contrast: none), (-ms-high-contrast: active)').matches) {
// Get all the SVGs on the page except the symbol defs
var svgs = document.querySelectorAll('a svg, button svg, h1 svg')
var svgs = document.querySelectorAll('a svg, button svg, h1 svg, .tags svg')
// ... iterate over SVGs
Array.prototype.forEach.call(svgs, function(svg) {
// Set preserveAspectRatio to 'XMidYMin slice'

File diff suppressed because one or more lines are too long

View File

@ -84,7 +84,7 @@
(function () {
if (window.matchMedia('(-ms-high-contrast: none), (-ms-high-contrast: active)').matches) {
// Get all the SVGs on the page except the symbol defs
var svgs = document.querySelectorAll('a svg, button svg, h1 svg')
var svgs = document.querySelectorAll('a svg, button svg, h1 svg, .tags svg')
// ... iterate over SVGs
Array.prototype.forEach.call(svgs, function(svg) {
// Set preserveAspectRatio to 'XMidYMin slice'