From c146f423d0910b9d3bece04740d30063549f5d70 Mon Sep 17 00:00:00 2001 From: napley <6539378+napley@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:12:57 +0200 Subject: [PATCH] fix(editor): check only editor input:invalid --- assets/js/app/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/app/common.js b/assets/js/app/common.js index 7c89f8372..37860721b 100644 --- a/assets/js/app/common.js +++ b/assets/js/app/common.js @@ -68,7 +68,7 @@ $(document).ready(function() { ** When a field from another group is invalid, show it. */ $('#editor button[type="submit"]').click(function() { - $('input:invalid').each(function() { + $('#editor input:invalid').each(function() { // Find the tab-pane that this element is inside, and get the id var $closest = $(this).closest('.tab-pane'); var id = $closest.attr('id');