You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
413 B
18 lines
413 B
/* Add site scipts */
|
|
((func) => {
|
|
if (document.readyState === "loading") {
|
|
document.addEventListener("DOMContentLoaded", func);
|
|
} else {
|
|
func();
|
|
}
|
|
})(
|
|
()=>{
|
|
const input_src = document.querySelector('input[name=src]')
|
|
const em = document.querySelector('input[name=src] ~ em')
|
|
em.innerText = input_src.value
|
|
|
|
input_src.onkeyup=(e)=>{
|
|
em.innerText = e.target.value
|
|
}
|
|
}
|
|
)
|
|
|