Missed a setting
This commit is contained in:
parent
e28e13bd10
commit
7b209e5d31
@ -10,6 +10,7 @@
|
|||||||
'hide-status-messages': settings.statusMessages === 'hidden',
|
'hide-status-messages': settings.statusMessages === 'hidden',
|
||||||
'condensed-status-messages': settings.statusMessages === 'condensed',
|
'condensed-status-messages': settings.statusMessages === 'condensed',
|
||||||
'colored-nicks': settings.coloredNicks,
|
'colored-nicks': settings.coloredNicks,
|
||||||
|
'show-seconds': settings.showSeconds,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
@ -129,7 +129,6 @@ function applySetting(name, value) {
|
|||||||
$chat.find(".msg > .time").each(function() {
|
$chat.find(".msg > .time").each(function() {
|
||||||
$(this).text(tz($(this).parent().data("time")));
|
$(this).text(tz($(this).parent().data("time")));
|
||||||
});
|
});
|
||||||
$chat.toggleClass("show-seconds", value);
|
|
||||||
} else if (name === "desktopNotifications") {
|
} else if (name === "desktopNotifications") {
|
||||||
if (("Notification" in window) && value && Notification.permission !== "granted") {
|
if (("Notification" in window) && value && Notification.permission !== "granted") {
|
||||||
Notification.requestPermission(updateDesktopNotificationStatus);
|
Notification.requestPermission(updateDesktopNotificationStatus);
|
||||||
|
Loading…
Reference in New Issue
Block a user