From 81740400f9bcf10a384f3f143a02b3bdeba0c2fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 16 Oct 2020 23:09:11 +0200 Subject: s/inline-edit/input-list/ --- static/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/script.js') diff --git a/static/script.js b/static/script.js index d7e60488..34ccdb2a 100644 --- a/static/script.js +++ b/static/script.js @@ -491,7 +491,7 @@ window.onload = function () { */ - for (let el of document.querySelectorAll(".inline-edit input")) { + for (let el of document.querySelectorAll(".input-list input")) { el.oninput = update_inline_list; } @@ -969,7 +969,7 @@ function advance_final(li) { size: 2, oninput: li.oninput, }); - li.closest(".inline-edit").appendChild(new_li); + li.closest(".input-list").appendChild(new_li); } function update_inline_list () { -- cgit v1.2.3