mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	typeahead: Change unused expression to just function calls.
This commit is contained in:
		@@ -207,9 +207,11 @@ import {get_string_diff} from "../../src/util";
 | 
			
		||||
 | 
			
		||||
        set_value() {
 | 
			
		||||
            const val = this.$menu.find(".active").data("typeahead-value");
 | 
			
		||||
            this.$element.is("[contenteditable]")
 | 
			
		||||
                ? this.$element.html(val)
 | 
			
		||||
                : this.$element.val(val);
 | 
			
		||||
            if (this.$element.is("[contenteditable]")) {
 | 
			
		||||
                this.$element.html(val);
 | 
			
		||||
            } else {
 | 
			
		||||
                this.$element.val(val);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (this.on_move) {
 | 
			
		||||
                this.on_move();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user