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%;
|
font-size: 85%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-field label {
|
label {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1069,7 +1069,8 @@
|
|||||||
}
|
}
|
||||||
if (replace == null) {
|
if (replace == null) {
|
||||||
play_notification_sound("new");
|
play_notification_sound("new");
|
||||||
} else if ($("#chatcontent p:last-child.mentioned").length) {
|
}
|
||||||
|
if ($("#chatcontent p:last-child.mentioned").length) {
|
||||||
play_notification_sound("mention");
|
play_notification_sound("mention");
|
||||||
}
|
}
|
||||||
if (replace == null && jumpscroll) {
|
if (replace == null && jumpscroll) {
|
||||||
|
@ -146,7 +146,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<h4>{{ _("Notification Sound") }}</h4>
|
<h4>{{ _("Notification Sound") }}</h4>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="col s12">
|
||||||
<span>
|
<span>
|
||||||
<input name="notification_sound_radiobtn" type="radio" id="notification_sound_radiobtn_newmsgs" value="newmsgs" />
|
<input name="notification_sound_radiobtn" type="radio" id="notification_sound_radiobtn_newmsgs" value="newmsgs" />
|
||||||
<label for="notification_sound_radiobtn_newmsgs">{{ _("New Messages") }}</label>
|
<label for="notification_sound_radiobtn_newmsgs">{{ _("New Messages") }}</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user