mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
pad_editbar: Fix invalid use of this
This commit is contained in:
parent
b884628a5a
commit
b2fe6e3e7e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue