Skip to content
Snippets Groups Projects
Unverified Commit bc302538 authored by Denys Halenok's avatar Denys Halenok Committed by GitHub
Browse files

Don't access jQuery through `parent.parent` (#5943)

parent 5384edc7
No related branches found
No related tags found
No related merge requests found
......@@ -318,7 +318,7 @@ exports.padeditbar = new class {
}
} else {
// Focus on the editbar :)
const firstEditbarElement = parent.parent.$('#editbar button').first();
const firstEditbarElement = $('#editbar button').first();
$(evt.currentTarget).trigger('blur');
firstEditbarElement.trigger('focus');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment