1
0
Fork 0
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:
Frédéric Guillot 2019-08-15 22:08:24 -07:00 committed by Frédéric Guillot
parent d882bbca85
commit 77125f45cc
7 changed files with 33 additions and 22 deletions

View file

@ -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;