mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
typeahead: Use !== instead of !=.
This commit is contained in:
@@ -458,7 +458,7 @@ import {get_string_diff} from "../../src/util";
|
||||
maybeStopAdvance(e) {
|
||||
const pseudo_keycode = get_pseudo_keycode(e);
|
||||
if (
|
||||
(this.options.stopAdvance || (pseudo_keycode != 9 && pseudo_keycode != 13)) &&
|
||||
(this.options.stopAdvance || (pseudo_keycode !== 9 && pseudo_keycode !== 13)) &&
|
||||
$.inArray(e.keyCode, this.options.advanceKeyCodes)
|
||||
) {
|
||||
e.stopPropagation();
|
||||
|
||||
Reference in New Issue
Block a user