Title: [193496] trunk/Websites/webkit.org
- Revision
- 193496
- Author
- timo...@apple.com
- Date
- 2015-12-04 17:23:41 -0800 (Fri, 04 Dec 2015)
Log Message
Fix another place where feature status internal reference links were wrong.
* wp-content/themes/webkit/status.php:
Modified Paths
Diff
Modified: trunk/Websites/webkit.org/ChangeLog (193495 => 193496)
--- trunk/Websites/webkit.org/ChangeLog 2015-12-05 01:23:23 UTC (rev 193495)
+++ trunk/Websites/webkit.org/ChangeLog 2015-12-05 01:23:41 UTC (rev 193496)
@@ -1,3 +1,9 @@
+2015-12-04 Timothy Hatcher <timo...@apple.com>
+
+ Fix another place where feature status internal reference links were wrong.
+
+ * wp-content/themes/webkit/status.php:
+
2015-12-04 Jonathan Davis <j...@apple.com>
Fixed feature status internal reference links.
Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/status.php (193495 => 193496)
--- trunk/Websites/webkit.org/wp-content/themes/webkit/status.php 2015-12-05 01:23:23 UTC (rev 193495)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/status.php 2015-12-05 01:23:41 UTC (rev 193496)
@@ -487,7 +487,7 @@
// 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 @@
for (var feature of featureObject.features) {
var link = document.createElement("a");
link.textContent = feature.name;
- link.href = "" + feature.name;
+ link.href = "" + feature.name.toLowerCase().replace(/ /g, '-');
var li = document.createElement("li");
li.appendChild(link);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes