mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
common.js: Migrate common.js module to use IIFE module style.
This module was exposing its functions as globals. This PR fixes it use the IIFE module style that we use in our other modules.
This commit is contained in:
@@ -76,7 +76,7 @@ function show_box(msg_type, opts) {
|
||||
$("#stream_toggle").removeClass("active");
|
||||
$("#private_message_toggle").addClass("active");
|
||||
}
|
||||
$("#send-status").removeClass(status_classes).hide();
|
||||
$("#send-status").removeClass(common.status_classes).hide();
|
||||
$('#compose').css({visibility: "visible"});
|
||||
$(".new_message_textarea").css("min-height", "3em");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user