mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Fix a misnamed variable in the keys port input handler (#520)
This commit is contained in:
parent
ccd93a626a
commit
2e3266d529
1 changed files with 2 additions and 2 deletions
|
|
@ -291,11 +291,11 @@
|
|||
_handleKeysPortInputKeyUp: function(e) {
|
||||
let input = this.$.keysPortInput;
|
||||
const badInputMessage = this.localize('error-keys-port-bad-input');
|
||||
if (event.key === 'Escape') {
|
||||
if (e.key === 'Escape') {
|
||||
this.cancelKeysPortEdit();
|
||||
input.blur();
|
||||
return;
|
||||
} else if (event.key === 'Enter') {
|
||||
} else if (e.key === 'Enter') {
|
||||
if (!input.invalid) {
|
||||
this.saveKeysPort();
|
||||
input.blur();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue