tabindex=-1 on h2s
This commit is contained in:
parent
5c64a6b161
commit
a8909fe90a
|
@ -59,6 +59,7 @@
|
||||||
|
|
||||||
if (id) {
|
if (id) {
|
||||||
var newHeading = heading.cloneNode(true);
|
var newHeading = heading.cloneNode(true);
|
||||||
|
newHeading.setAttribute('tabindex', '-1');
|
||||||
|
|
||||||
var container = document.createElement('div');
|
var container = document.createElement('div');
|
||||||
container.setAttribute('class', 'h2-container');
|
container.setAttribute('class', 'h2-container');
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -59,6 +59,7 @@
|
||||||
|
|
||||||
if (id) {
|
if (id) {
|
||||||
var newHeading = heading.cloneNode(true);
|
var newHeading = heading.cloneNode(true);
|
||||||
|
newHeading.setAttribute('tabindex', '-1');
|
||||||
|
|
||||||
var container = document.createElement('div');
|
var container = document.createElement('div');
|
||||||
container.setAttribute('class', 'h2-container');
|
container.setAttribute('class', 'h2-container');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user