Fix notification sound input field and handling mentions not sounding

This commit is contained in:
Jeremy Zhang
2017-12-12 21:45:21 +00:00
parent de5b96abb1
commit 14078fdabd
3 changed files with 4 additions and 3 deletions

View File

@ -1069,7 +1069,8 @@
}
if (replace == null) {
play_notification_sound("new");
} else if ($("#chatcontent p:last-child.mentioned").length) {
}
if ($("#chatcontent p:last-child.mentioned").length) {
play_notification_sound("mention");
}
if (replace == null && jumpscroll) {