Merge pull request #5632 from jannikstdl/dev

enh: open PDF citations on the associated page
This commit is contained in:
Timothy Jaeryang Baek
2024-09-24 11:27:53 +02:00
committed by GitHub
3 changed files with 29 additions and 15 deletions

View File

@@ -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 === '') {