pad_editbar: Fix invalid use of `this`

pull/5152/head
Richard Hansen 2021-07-15 17:07:44 -04:00
parent b884628a5a
commit b2fe6e3e7e
1 changed files with 1 additions and 1 deletions

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();
}