forked from rDrama/rDrama
1
0
Fork 0

fix cancel button not working sometimes

master
Aevann 2023-03-10 00:44:31 +02:00
parent ee35911f65
commit 3f6c81407b
1 changed files with 2 additions and 2 deletions

View File

@ -124,9 +124,9 @@ function register_new_elements(e) {
const onclick = e.querySelectorAll('[data-onclick]');
for (const element of onclick) {
element.onclick = () => {
element.addEventListener('click', () => {
execute(element, 'onclick')
};
});
}
const oninput = e.querySelectorAll('[data-oninput]');