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:
Rishi Gupta
2019-04-19 15:42:32 -07:00
committed by Tim Abbott
parent 29d30ceab7
commit a501abf3a1
4 changed files with 9 additions and 15 deletions

View File

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