forked from open-webui/open-webui
fix: chat history styling
This commit is contained in:
parent
64ee3e5738
commit
7a5a803168
1 changed files with 12 additions and 1 deletions
|
@ -385,7 +385,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
renderLatex();
|
renderLatex();
|
||||||
|
|
||||||
hljs.highlightAll();
|
hljs.highlightAll();
|
||||||
createCopyCodeBlockButton();
|
createCopyCodeBlockButton();
|
||||||
}
|
}
|
||||||
|
@ -546,6 +545,12 @@
|
||||||
history.currentId = messageId;
|
history.currentId = messageId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await tick();
|
||||||
|
|
||||||
|
renderLatex();
|
||||||
|
hljs.highlightAll();
|
||||||
|
createCopyCodeBlockButton();
|
||||||
};
|
};
|
||||||
|
|
||||||
const showNextMessage = async (message) => {
|
const showNextMessage = async (message) => {
|
||||||
|
@ -586,6 +591,12 @@
|
||||||
history.currentId = messageId;
|
history.currentId = messageId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await tick();
|
||||||
|
|
||||||
|
renderLatex();
|
||||||
|
hljs.highlightAll();
|
||||||
|
createCopyCodeBlockButton();
|
||||||
};
|
};
|
||||||
|
|
||||||
//////////////////////////
|
//////////////////////////
|
||||||
|
|
Loading…
Reference in a new issue