settings: Fix live update of notification sound dropdown.

This commit fixes the live update of notification sound
setting dropdown. We already update the notification sound
source to play the correct sound after changing the setting.
This commit is contained in:
Sahil Batra 2021-09-05 16:50:54 +05:30 committed by Tim Abbott
parent 31de905955
commit 89e5c7b9f9
1 changed files with 4 additions and 0 deletions

View File

@ -139,6 +139,10 @@ export function update_page() {
} else if (setting === "desktop_icon_count_display") {
update_desktop_icon_count_display();
continue;
} else if (setting === "notification_sound") {
$("#user-notification-settings .setting_notification_sound").val(
user_settings.notification_sound,
);
}
$("#user-notification-settings")