mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	typeahead: Use !== instead of !=.
This commit is contained in:
		@@ -458,7 +458,7 @@ import {get_string_diff} from "../../src/util";
 | 
				
			|||||||
        maybeStopAdvance(e) {
 | 
					        maybeStopAdvance(e) {
 | 
				
			||||||
            const pseudo_keycode = get_pseudo_keycode(e);
 | 
					            const pseudo_keycode = get_pseudo_keycode(e);
 | 
				
			||||||
            if (
 | 
					            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)
 | 
					                $.inArray(e.keyCode, this.options.advanceKeyCodes)
 | 
				
			||||||
            ) {
 | 
					            ) {
 | 
				
			||||||
                e.stopPropagation();
 | 
					                e.stopPropagation();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user