mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Fixes #11832 This lets the user see more options than the three that appear in the typeahead menu, and prevents them from inputting invalid stream names. This change replaces the input field with the dropdown, and updates everything that referred to the classnames of the old input field, so that they now get the data they need from the new dropdown.
14 lines
428 B
JavaScript
14 lines
428 B
JavaScript
"use strict";
|
|
|
|
const $ = require("./zjquery");
|
|
|
|
exports.mock_stream_header_colorblock = () => {
|
|
const $stream_selection_dropdown = $("#compose_stream_selection_dropdown");
|
|
const $stream_header_colorblock = $(".stream_header_colorblock");
|
|
$(".stream_header_colorblock").css = () => {};
|
|
$stream_selection_dropdown.set_find_results(
|
|
".stream_header_colorblock",
|
|
$stream_header_colorblock,
|
|
);
|
|
};
|