mirror of https://github.com/zulip/zulip.git
Replace usage of send_status.toggle() with the more clear .show()
(imported from commit 0593222b16bf845b7bcd9075d02c156a05764c12)
This commit is contained in:
parent
40ae6080ee
commit
3a7dda5099
|
@ -282,7 +282,7 @@ $(function () {
|
|||
// The class doesn't exist
|
||||
okay = false;
|
||||
send_status.removeClass(status_classes);
|
||||
send_status.toggle();
|
||||
send_status.show();
|
||||
$('#class-dne-name').text(zephyr_class);
|
||||
$('#class-dne').show();
|
||||
$('#create-it').focus();
|
||||
|
@ -302,7 +302,7 @@ $(function () {
|
|||
// You're not subbed to the class
|
||||
okay = false;
|
||||
send_status.removeClass(status_classes);
|
||||
send_status.toggle();
|
||||
send_status.show();
|
||||
$('#class-nosub-name').text(zephyr_class);
|
||||
$('#class-nosub').show();
|
||||
$('#sub-it').focus();
|
||||
|
|
Loading…
Reference in New Issue