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:
sanchi-t 2024-09-04 17:55:09 +05:30 committed by Tim Abbott
parent 5d3edf06c8
commit a8acd0ce25
2 changed files with 0 additions and 4 deletions

View File

@ -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.

View File

@ -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") {