add tags svgs to script
This commit is contained in:
parent
1ce362c82f
commit
d43628190f
|
@ -84,7 +84,7 @@
|
||||||
(function () {
|
(function () {
|
||||||
if (window.matchMedia('(-ms-high-contrast: none), (-ms-high-contrast: active)').matches) {
|
if (window.matchMedia('(-ms-high-contrast: none), (-ms-high-contrast: active)').matches) {
|
||||||
// Get all the SVGs on the page except the symbol defs
|
// 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
|
// ... iterate over SVGs
|
||||||
Array.prototype.forEach.call(svgs, function(svg) {
|
Array.prototype.forEach.call(svgs, function(svg) {
|
||||||
// Set preserveAspectRatio to 'XMidYMin slice'
|
// Set preserveAspectRatio to 'XMidYMin slice'
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -84,7 +84,7 @@
|
||||||
(function () {
|
(function () {
|
||||||
if (window.matchMedia('(-ms-high-contrast: none), (-ms-high-contrast: active)').matches) {
|
if (window.matchMedia('(-ms-high-contrast: none), (-ms-high-contrast: active)').matches) {
|
||||||
// Get all the SVGs on the page except the symbol defs
|
// 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
|
// ... iterate over SVGs
|
||||||
Array.prototype.forEach.call(svgs, function(svg) {
|
Array.prototype.forEach.call(svgs, function(svg) {
|
||||||
// Set preserveAspectRatio to 'XMidYMin slice'
|
// Set preserveAspectRatio to 'XMidYMin slice'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user