mirror of https://github.com/zulip/zulip.git
compose_box: Remove non-existent classes.
The .enter_sends_true and .enter_sends_false classes were originally
removed in commit b4b71880e1
.
This commit is contained in:
parent
5d3edf06c8
commit
a8acd0ce25
|
@ -186,8 +186,6 @@ export function initialize() {
|
|||
.attr("value");
|
||||
selected_behaviour = selected_behaviour === "true"; // Convert to bool
|
||||
user_settings.enter_sends = selected_behaviour;
|
||||
$(`.enter_sends_${!selected_behaviour}`).hide();
|
||||
$(`.enter_sends_${selected_behaviour}`).show();
|
||||
|
||||
// Refocus in the content box so you can continue typing or
|
||||
// press Enter to send.
|
||||
|
|
|
@ -853,8 +853,6 @@ export function dispatch_normal_event(event) {
|
|||
}
|
||||
if (event.property === "enter_sends") {
|
||||
user_settings.enter_sends = event.value;
|
||||
$(`.enter_sends_${!user_settings.enter_sends}`).hide();
|
||||
$(`.enter_sends_${user_settings.enter_sends}`).show();
|
||||
break;
|
||||
}
|
||||
if (event.property === "presence_enabled") {
|
||||
|
|
Loading…
Reference in New Issue