Missed a setting

This commit is contained in:
Pavel Djundik 2018-07-08 20:28:52 +03:00 committed by Pavel Djundik
parent e28e13bd10
commit 7b209e5d31
2 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,7 @@
'hide-status-messages': settings.statusMessages === 'hidden',
'condensed-status-messages': settings.statusMessages === 'condensed',
'colored-nicks': settings.coloredNicks,
'show-seconds': settings.showSeconds,
}"
>
<div

View File

@ -129,7 +129,6 @@ function applySetting(name, value) {
$chat.find(".msg > .time").each(function() {
$(this).text(tz($(this).parent().data("time")));
});
$chat.toggleClass("show-seconds", value);
} else if (name === "desktopNotifications") {
if (("Notification" in window) && value && Notification.permission !== "granted") {
Notification.requestPermission(updateDesktopNotificationStatus);