Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

typeahead: Use !== instead of !=.

evykassirerbcdde201ecf1
diff --git a/web/third/bootstrap-typeahead/typeahead.js b/web/third/bootstrap-typeahead/typeahead.js
index 1545136b396..350f169f606 100644
--- a/web/third/bootstrap-typeahead/typeahead.js
+++ b/web/third/bootstrap-typeahead/typeahead.js
@@ -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();