make tairu work better with noscript
This commit is contained in:
parent
90de54c359
commit
a92ae02454
22 changed files with 404 additions and 238 deletions
|
@ -7,3 +7,12 @@ document.addEventListener("click", event => {
|
|||
event.preventDefault();
|
||||
}
|
||||
})
|
||||
|
||||
// Certain words don't make sense if scripts are disabled.
|
||||
class YesScript extends HTMLElement {
|
||||
connectedCallback() {
|
||||
this.classList.add("yes-indeed");
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define("th-yesscript", YesScript);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue