mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix: chat history styling
This commit is contained in:
@@ -385,7 +385,6 @@
|
||||
}
|
||||
|
||||
renderLatex();
|
||||
|
||||
hljs.highlightAll();
|
||||
createCopyCodeBlockButton();
|
||||
}
|
||||
@@ -546,6 +545,12 @@
|
||||
history.currentId = messageId;
|
||||
}
|
||||
}
|
||||
|
||||
await tick();
|
||||
|
||||
renderLatex();
|
||||
hljs.highlightAll();
|
||||
createCopyCodeBlockButton();
|
||||
};
|
||||
|
||||
const showNextMessage = async (message) => {
|
||||
@@ -586,6 +591,12 @@
|
||||
history.currentId = messageId;
|
||||
}
|
||||
}
|
||||
|
||||
await tick();
|
||||
|
||||
renderLatex();
|
||||
hljs.highlightAll();
|
||||
createCopyCodeBlockButton();
|
||||
};
|
||||
|
||||
//////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user