pad_editbar: Fix invalid use of `this`
parent
b884628a5a
commit
b2fe6e3e7e
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue