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:
parent
1ec90e34f5
commit
7a25cf5037
2 changed files with 13 additions and 7 deletions
2
internal/ui/static/js/bootstrap.js
vendored
2
internal/ui/static/js/bootstrap.js
vendored
|
@ -1,5 +1,5 @@
|
|||
document.addEventListener("DOMContentLoaded", () => {
|
||||
handleSubmitButtons();
|
||||
disableSubmitButtonsOnFormSubmit();
|
||||
|
||||
if (!document.querySelector("body[data-disable-keyboard-shortcuts=true]")) {
|
||||
const keyboardHandler = new KeyboardHandler();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue