Fix another place where feature status internal reference links were wrong.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Dec 2015 01:23:41 +0000 (01:23 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Dec 2015 01:23:41 +0000 (01:23 +0000)
* wp-content/themes/webkit/status.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@193496 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/themes/webkit/status.php

index efd75d7..d055d59 100644 (file)
@@ -1,3 +1,9 @@
+2015-12-04  Timothy Hatcher  <timothy@apple.com>
+
+        Fix another place where feature status internal reference links were wrong.
+
+        * wp-content/themes/webkit/status.php:
+
 2015-12-04  Jonathan Davis  <jond@apple.com>
 
         Fixed feature status internal reference links.
index f9b5012..ad7e942 100644 (file)
@@ -487,7 +487,7 @@ function initializeStatusPage() {
         // Add sub-feature here
         if (hasSpecificationObject) {
             var specification = featureObject.specification;
-            var specSpan = createLinkWithHeading("span", null, specification.name, ("#specification-" + specification.name.toLowerCase().replace(/ /g, '-')));
+            var specSpan = createLinkWithHeading("span", null, specification.name, "#specification-" + specification.name.toLowerCase().replace(/ /g, '-'));
             specSpan.className = "internal-reference";
             titleElement.appendChild(specSpan);
         }
@@ -582,7 +582,7 @@ function initializeStatusPage() {
             for (var feature of featureObject.features) {
                 var link = document.createElement("a");
                 link.textContent = feature.name;
-                link.href = "#feature-" + feature.name;
+                link.href = "#feature-" + feature.name.toLowerCase().replace(/ /g, '-');
 
                 var li = document.createElement("li");
                 li.appendChild(link);