mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
Move some UI-related code
(imported from commit 28dc554ed91c14f8a8b4be282a211d3d50cf9873)
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
function clear_compose_box() {
|
||||
$("#zephyr_compose").find('input[type=text], textarea').val('');
|
||||
}
|
||||
|
||||
function compose_button() {
|
||||
clear_compose_box();
|
||||
$('#sidebar a[href="#home"]').tab('show');
|
||||
|
||||
Reference in New Issue
Block a user