notifications: Add specificity to notification_sound_elem.

This will help justify upcoming types in settings_notifications.ts
This commit is contained in:
evykassirer 2024-10-01 22:59:50 -07:00 committed by Tim Abbott
parent 52b33868f1
commit daf9954c8b
2 changed files with 2 additions and 2 deletions

View File

@ -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,
};

View File

@ -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;
}