mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Merge pull request #5632 from jannikstdl/dev
enh: open PDF citations on the associated page
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
export let className = 'flex';
|
||||
export let theme = '';
|
||||
export let allowHTML = true;
|
||||
export let tippyOptions = {};
|
||||
|
||||
let tooltipElement;
|
||||
let tooltipInstance;
|
||||
@@ -28,7 +29,8 @@
|
||||
touch: touch,
|
||||
...(theme !== '' ? { theme } : { theme: 'dark' }),
|
||||
arrow: false,
|
||||
offset: [0, 4]
|
||||
offset: [0, 4],
|
||||
...tippyOptions
|
||||
});
|
||||
}
|
||||
} else if (tooltipInstance && content === '') {
|
||||
|
||||
Reference in New Issue
Block a user