2022-10-21 00:44:55 +02:00
|
|
|
"use strict";
|
|
|
|
|
2023-12-14 23:51:33 +01:00
|
|
|
const {noop} = require("./test");
|
2022-10-21 00:44:55 +02:00
|
|
|
const $ = require("./zjquery");
|
|
|
|
|
|
|
|
exports.mock_stream_header_colorblock = () => {
|
2023-07-19 16:09:53 +02:00
|
|
|
const $stream_selection_dropdown = $("#compose_select_recipient_widget_wrapper");
|
2022-10-21 00:44:55 +02:00
|
|
|
const $stream_header_colorblock = $(".stream_header_colorblock");
|
2023-12-14 23:51:33 +01:00
|
|
|
$("#compose_select_recipient_widget_wrapper .stream_header_colorblock").css = noop;
|
2022-10-21 00:44:55 +02:00
|
|
|
$stream_selection_dropdown.set_find_results(
|
|
|
|
".stream_header_colorblock",
|
|
|
|
$stream_header_colorblock,
|
|
|
|
);
|
|
|
|
};
|