mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
Improve import form
This commit is contained in:
parent
d882bbca85
commit
77125f45cc
7 changed files with 33 additions and 22 deletions
|
@ -45,7 +45,7 @@ function handleSubmitButtons() {
|
|||
let elements = document.querySelectorAll("form");
|
||||
elements.forEach((element) => {
|
||||
element.onsubmit = () => {
|
||||
let button = document.querySelector("button");
|
||||
let button = element.querySelector("button");
|
||||
|
||||
if (button) {
|
||||
button.innerHTML = button.dataset.labelLoading;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue