Bug 33322: (QA follow-up) Add comment to clarify selector context

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f19a3bf91a)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
This commit is contained in:
Nick Clemens 2023-03-29 14:32:21 +00:00 committed by Jacob O'Mara
parent 394d3ef356
commit 5c76bb0c4e
1 changed files with 1 additions and 0 deletions

View File

@ -1412,6 +1412,7 @@
$("#" + target).toggle();
});
// Note: the selector below passes a second 'context' param - it is not a multiple selector
$("button[type='submit']", "#suggestions_batch_ops").on("click", function(e) {
var submit_button = this;
var form = $(submit_button).parents("form");