settings_notifications: Add specificity to select classname to justify type.

This commit is contained in:
evykassirer 2024-10-01 22:54:20 -07:00 committed by Tim Abbott
parent 9dc0e55835
commit 36183761f8
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ export function set_up(settings_panel: SettingsPanel): void {
const $notification_sound_elem = $<HTMLAudioElement>(settings_panel.notification_sound_elem); const $notification_sound_elem = $<HTMLAudioElement>(settings_panel.notification_sound_elem);
const for_realm_settings = settings_panel.for_realm_settings; const for_realm_settings = settings_panel.for_realm_settings;
const $notification_sound_dropdown = $container.find<HTMLSelectElement & {type: "select-one"}>( const $notification_sound_dropdown = $container.find<HTMLSelectElement & {type: "select-one"}>(
".setting_notification_sound", "select:not([multiple]).setting_notification_sound",
); );
$container.find(".play_notification_sound").on("click", () => { $container.find(".play_notification_sound").on("click", () => {