pad_editbar: Fix invalid use of this

This commit is contained in:
Richard Hansen 2021-07-15 17:07:44 -04:00
parent b884628a5a
commit b2fe6e3e7e

View file

@ -324,7 +324,7 @@ const padeditbar = (() => {
// Focus on the editbar :)
const firstEditbarElement = parent.parent.$('#editbar button').first();
$(this).blur();
$(evt.currentTarget).blur();
firstEditbarElement.focus();
evt.preventDefault();
}