add tab index
This commit is contained in:
parent
f5c5a3c2b6
commit
e34013b5f8
2 changed files with 10 additions and 6 deletions
|
@ -61,7 +61,11 @@ class windowman {
|
|||
);
|
||||
}
|
||||
|
||||
text_element.innerText = text_inserted;
|
||||
if (text_element.tagName.toLowerCase().includes(`input`)) {
|
||||
text_element.setAttribute(`placholder`, text_inserted);
|
||||
} else {
|
||||
text_element.innerText = text_inserted;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -216,7 +220,7 @@ class windowman {
|
|||
// Write the data.
|
||||
secretariat.write(
|
||||
[`view`, window.location.href],
|
||||
this.getAttribute(`for`),
|
||||
parseInt(this.getAttribute(`tab`)),
|
||||
1,
|
||||
);
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue