mirror of
https://github.com/open-webui/open-webui
synced 2025-02-22 13:18:25 +00:00
refac
This commit is contained in:
parent
d11e6e40b1
commit
a3ca39f377
@ -1151,13 +1151,6 @@
|
|||||||
if (done) {
|
if (done) {
|
||||||
message.done = true;
|
message.done = true;
|
||||||
|
|
||||||
if ($settings.notificationEnabled && !document.hasFocus()) {
|
|
||||||
new Notification(`${message.model}`, {
|
|
||||||
body: message.content,
|
|
||||||
icon: `${WEBUI_BASE_URL}/static/favicon.png`
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($settings.responseAutoCopy) {
|
if ($settings.responseAutoCopy) {
|
||||||
copyToClipboard(message.content);
|
copyToClipboard(message.content);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user