From 51907015ede3de57e90a0801d248d7d0067c1fe6 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 1 Nov 2021 01:27:06 -0400 Subject: [PATCH] chat: Fix gritter duration --- src/static/js/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/chat.js b/src/static/js/chat.js index f16be57f8..86b025097 100755 --- a/src/static/js/chat.js +++ b/src/static/js/chat.js @@ -205,7 +205,7 @@ exports.chat = (() => { // to not introduce an XSS vulnerability by adding unescaped user input. .append($('
').html(ctx.text).contents()), sticky: ctx.sticky, - time: 5000, + time: ctx.duration, position: 'bottom', class_name: 'chat-gritter-msg', });