Преглед на файлове

add tags svgs to script

Heydon Pickering преди 8 години
родител
ревизия
d43628190f
променени са 3 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      docs/js/dom-scripts.js
  2. 0 0
      docs/service-worker.js
  3. 1 1
      themes/infusion/static/js/dom-scripts.js

+ 1 - 1
docs/js/dom-scripts.js

@@ -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'

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
docs/service-worker.js


+ 1 - 1
themes/infusion/static/js/dom-scripts.js

@@ -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'

Някои файлове не бяха показани, защото твърде много файлове са промени