mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Fix notification sound input field and handling mentions not sounding
This commit is contained in:
parent
de5b96abb1
commit
14078fdabd
@ -387,7 +387,7 @@ textarea.materialize-textarea:focus:not([readonly]) {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
.input-field label {
|
||||
label {
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -146,7 +146,7 @@
|
||||
</div>
|
||||
<h4>{{ _("Notification Sound") }}</h4>
|
||||
<div class="row">
|
||||
<div class="input-field col s12">
|
||||
<div class="col s12">
|
||||
<span>
|
||||
<input name="notification_sound_radiobtn" type="radio" id="notification_sound_radiobtn_newmsgs" value="newmsgs" />
|
||||
<label for="notification_sound_radiobtn_newmsgs">{{ _("New Messages") }}</label>
|
||||
|
Loading…
Reference in New Issue
Block a user