Pārlūkot izejas kodu

changed section link text

Heydon Pickering 8 gadi atpakaļ
vecāks
revīzija
cf3b228fa0

+ 0 - 1
docs/css/styles.css

@@ -636,7 +636,6 @@ p:empty {
     color: #C83737;
 }
 /* SVG icons */
-
 a svg,
 button svg,
 h1 svg {

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

@@ -69,7 +69,7 @@
       var link = document.createElement('a');
       link.setAttribute('href', '#' + id);
       var headingText = heading.textContent;
-      link.setAttribute('aria-label', 'To this ' + headingText + ' section');
+      link.setAttribute('aria-label', 'This ' + headingText + ' section');
       link.innerHTML = '<svg aria-hidden="true" viewBox="0 0 50 50" focusable="false"> <use xlink:href="#link"></use> </svg>';
 
       container.appendChild(link);

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
docs/service-worker.js


+ 0 - 1
themes/infusion/static/css/styles.css

@@ -636,7 +636,6 @@ p:empty {
     color: #C83737;
 }
 /* SVG icons */
-
 a svg,
 button svg,
 h1 svg {

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

@@ -69,7 +69,7 @@
       var link = document.createElement('a');
       link.setAttribute('href', '#' + id);
       var headingText = heading.textContent;
-      link.setAttribute('aria-label', 'To this ' + headingText + ' section');
+      link.setAttribute('aria-label', 'This ' + headingText + ' section');
       link.innerHTML = '<svg aria-hidden="true" viewBox="0 0 50 50" focusable="false"> <use xlink:href="#link"></use> </svg>';
 
       container.appendChild(link);

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels