feat: Chat-Highlight scrollt zum Element, roter prominenter Pulse-Effekt
Dieser Commit ist enthalten in:
@@ -253,11 +253,14 @@ const Chat = {
|
||||
var el = document.querySelector(sel);
|
||||
if (el) {
|
||||
highlighted.add(sel);
|
||||
el.classList.add('chat-ui-highlight');
|
||||
el.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
(function(element) {
|
||||
setTimeout(function() {
|
||||
element.classList.add('chat-ui-highlight');
|
||||
}, 400);
|
||||
setTimeout(function() {
|
||||
element.classList.remove('chat-ui-highlight');
|
||||
}, 3000);
|
||||
}, 4400);
|
||||
})(el);
|
||||
}
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren