mirror of https://github.com/zulip/zulip.git
notifications: Add specificity to notification_sound_elem.
This will help justify upcoming types in settings_notifications.ts
This commit is contained in:
parent
52b33868f1
commit
daf9954c8b
|
@ -375,7 +375,7 @@ export function initialize() {
|
|||
user_settings_panel = {
|
||||
container: "#user-notification-settings",
|
||||
settings_object: user_settings,
|
||||
notification_sound_elem: "#user-notification-sound-audio",
|
||||
notification_sound_elem: "audio#user-notification-sound-audio",
|
||||
for_realm_settings: false,
|
||||
};
|
||||
|
||||
|
|
|
@ -103,6 +103,6 @@ export function initialize() {
|
|||
realm_default_settings_panel.container = "#realm-user-default-settings";
|
||||
realm_default_settings_panel.settings_object = realm_user_settings_defaults;
|
||||
realm_default_settings_panel.notification_sound_elem =
|
||||
"#realm-default-notification-sound-audio";
|
||||
"audio#realm-default-notification-sound-audio";
|
||||
realm_default_settings_panel.for_realm_settings = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue