mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
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:
@@ -186,8 +186,6 @@ export function initialize() {
|
|||||||
.attr("value");
|
.attr("value");
|
||||||
selected_behaviour = selected_behaviour === "true"; // Convert to bool
|
selected_behaviour = selected_behaviour === "true"; // Convert to bool
|
||||||
user_settings.enter_sends = selected_behaviour;
|
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
|
// Refocus in the content box so you can continue typing or
|
||||||
// press Enter to send.
|
// press Enter to send.
|
||||||
|
|||||||
@@ -853,8 +853,6 @@ export function dispatch_normal_event(event) {
|
|||||||
}
|
}
|
||||||
if (event.property === "enter_sends") {
|
if (event.property === "enter_sends") {
|
||||||
user_settings.enter_sends = event.value;
|
user_settings.enter_sends = event.value;
|
||||||
$(`.enter_sends_${!user_settings.enter_sends}`).hide();
|
|
||||||
$(`.enter_sends_${user_settings.enter_sends}`).show();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (event.property === "presence_enabled") {
|
if (event.property === "presence_enabled") {
|
||||||
|
|||||||
Reference in New Issue
Block a user