From d986901a1cf6c2eb9b54c66e8f6ce0b0aa9ef137 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 4 Jul 2016 13:38:24 -0700 Subject: [PATCH] Narrow header anchor selector. --- lib/main/build-site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main/build-site.js b/lib/main/build-site.js index a03883ac6..67f97b097 100644 --- a/lib/main/build-site.js +++ b/lib/main/build-site.js @@ -19,7 +19,7 @@ function build(type) { .attr('class', null) .attr('id', null); - $(':header > a').each(function() { + $(':header > a[href]').each(function() { var $a = $(this); $a.replaceWith($a.html()); });