소스 검색

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'

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.