mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 05:23:17 +00:00
dependencies: Upgrade linters and fix linter errors.
The changes here are mostly straightforward; the one exception is removing a zulipdev.org hack. We disable some lint rules we'll want to address later (E.g. we want to switch to using async/await rather than .then()). But those are out of scope for this commit.
This commit is contained in:
@@ -92,9 +92,7 @@ class NewServerForm extends BaseComponent {
|
||||
this.submitFormHandler();
|
||||
});
|
||||
this.$newServerUrl.addEventListener('keypress', event => {
|
||||
const EnterkeyCode = event.keyCode;
|
||||
// Submit form when Enter key is pressed
|
||||
if (EnterkeyCode === 13) {
|
||||
if (event.key === 'Enter') {
|
||||
this.submitFormHandler();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user