fix wrong property

master
Aevann 2023-06-30 18:58:43 +03:00
parent 7851b66962
commit d9cac3a843
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ for (const element of TH) {
const btns_to_disable = document.querySelectorAll('[type="submit"]')
for (const element of btns_to_disable) {
if (!element.className.contains("donotdisable"))
if (!element.classList.contains("donotdisable"))
element.addEventListener('click', () => {disable_btn(element)})
}