Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings_notifications: Add specificity to select classname to justify type.

evykassirer36183761f8ba
diff --git a/web/src/settings_notifications.ts b/web/src/settings_notifications.ts
index a1c225157b4..d331f9076e6 100644
--- a/web/src/settings_notifications.ts
+++ b/web/src/settings_notifications.ts
@@ -178,7 +178,7 @@ export function set_up(settings_panel: SettingsPanel): void {
const $notification_sound_elem = $<HTMLAudioElement>(settings_panel.notification_sound_elem);
const for_realm_settings = settings_panel.for_realm_settings;
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", () => {