mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Narrow header anchor selector.
This commit is contained in:
@@ -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());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user