mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-14 11:06:55 -04:00
Removed deprecated event.
This commit is contained in:
parent
219bf8295c
commit
d1fd315c86
7 changed files with 14 additions and 14 deletions
|
@ -227,7 +227,7 @@ exports.chat = (() => {
|
|||
if ((evt.altKey === true && evt.which === 67) || evt.which === 27) {
|
||||
// If we're in chat already..
|
||||
$(':focus').trigger('blur'); // required to do not try to remove!
|
||||
padeditor.ace.focus(); // Sends focus back to pad
|
||||
padeditor.ace.trigger('focus'); // Sends focus back to pad
|
||||
evt.preventDefault();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue