js: Prefix jQuery object variable names with $.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-01-25 02:36:19 -08:00
parent f21842e920
commit f84a2c08d5
195 changed files with 4883 additions and 4835 deletions

View File

@@ -69,11 +69,11 @@ export function mute_topic(stream_id, topic, from_hotkey) {
// know what you did if you triggered muting with the
// mouse.
feedback_widget.show({
populate(container) {
populate($container) {
const rendered_html = render_topic_muted();
container.html(rendered_html);
container.find(".stream").text(stream_name);
container.find(".topic").text(topic);
$container.html(rendered_html);
$container.find(".stream").text(stream_name);
$container.find(".topic").text(topic);
},
on_undo() {
unmute_topic(stream_id, topic);