mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
d11e6e40b1
commit
a3ca39f377
1 changed files with 0 additions and 7 deletions
|
|
@ -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 a new issue