chat: Fix gritter duration
parent
23f963c9fe
commit
51907015ed
|
@ -205,7 +205,7 @@ exports.chat = (() => {
|
||||||
// to not introduce an XSS vulnerability by adding unescaped user input.
|
// to not introduce an XSS vulnerability by adding unescaped user input.
|
||||||
.append($('<div>').html(ctx.text).contents()),
|
.append($('<div>').html(ctx.text).contents()),
|
||||||
sticky: ctx.sticky,
|
sticky: ctx.sticky,
|
||||||
time: 5000,
|
time: ctx.duration,
|
||||||
position: 'bottom',
|
position: 'bottom',
|
||||||
class_name: 'chat-gritter-msg',
|
class_name: 'chat-gritter-msg',
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue