chat: Fix gritter duration

pull/5256/head
Richard Hansen 2021-11-01 01:27:06 -04:00
parent 23f963c9fe
commit 51907015ed
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ exports.chat = (() => {
// to not introduce an XSS vulnerability by adding unescaped user input.
.append($('<div>').html(ctx.text).contents()),
sticky: ctx.sticky,
time: 5000,
time: ctx.duration,
position: 'bottom',
class_name: 'chat-gritter-msg',
});