mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
settings: Move pm_content_in_desktop_notifications into Other notifications.
Not as nice as the previous coupling, but needed for upcoming refactors to this page.
This commit is contained in:
@@ -14,10 +14,10 @@ var pm_mention_notification_settings = [
|
||||
"enable_offline_email_notifications",
|
||||
"enable_offline_push_notifications",
|
||||
"enable_sounds",
|
||||
"pm_content_in_desktop_notifications",
|
||||
];
|
||||
|
||||
var other_notification_settings = [
|
||||
"pm_content_in_desktop_notifications",
|
||||
"enable_online_push_notifications",
|
||||
"notification_sound",
|
||||
"enable_digest_emails",
|
||||
@@ -109,10 +109,6 @@ exports.set_up = function () {
|
||||
notification_sound_dropdown.parent().addClass("control-label-disabled");
|
||||
}
|
||||
});
|
||||
|
||||
$("#enable_desktop_notifications").change(function () {
|
||||
settings_ui.disable_sub_setting_onchange(this.checked, "pm_content_in_desktop_notifications", true);
|
||||
});
|
||||
};
|
||||
|
||||
exports.update_page = function () {
|
||||
|
||||
Reference in New Issue
Block a user