1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00

fix(js): handle multiple buttons in a single form when showing loading state

This commit is contained in:
Frédéric Guillot 2025-08-01 20:50:00 -07:00
parent 1ec90e34f5
commit 7a25cf5037
2 changed files with 13 additions and 7 deletions

View file

@ -1,5 +1,5 @@
document.addEventListener("DOMContentLoaded", () => {
handleSubmitButtons();
disableSubmitButtonsOnFormSubmit();
if (!document.querySelector("body[data-disable-keyboard-shortcuts=true]")) {
const keyboardHandler = new KeyboardHandler();