Revert "Issue #2149933 by effulgentsia: Improve Edit module JS to use .find(...) instead of .is(':has(...)')."

Wrong commit credit.

This reverts commit af335ce5c7faf156ef340c876b7c8e1ef787d9e9.
Issue #2149933 by nod_: Improve Edit module JS to use .find(...) instead of .is(':has(...)').