From 6b4afa3d314a38cace19f9205161211d29b93c14 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 6 Sep 2021 11:35:55 +0200 Subject: [PATCH] Fix syntax error --- www/form/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/form/inner.js b/www/form/inner.js index f291fc916..89a02c791 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -305,7 +305,7 @@ define([ if (isItem) { if (cursor && cursor.uid === uid && cursor.item) { setCursor(); } } else { - else if (cursor && cursor.el === val && !cursor.item) { setCursor(); } + if (cursor && cursor.el === val && !cursor.item) { setCursor(); } } var del = h('button.btn.btn-danger-outline', h('i.fa.fa-times'));