mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 09:14:16 +01:00
Backport #23169 Close #23073. Used the solution as reference to the reply: https://github.com/go-gitea/gitea/issues/23073#issuecomment-1440124609 Here made the change inside the `contextpopup.js` because this is where the popup component is created and tippy configuration is given. Co-authored-by: Hester Gong <hestergong@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
e3b1ebbbfe
commit
d1d15306d1
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ export function initContextPopups() {
|
|||
createTippy(this, {
|
||||
content: el,
|
||||
interactive: true,
|
||||
interactiveBorder: 5,
|
||||
onShow: () => {
|
||||
el.firstChild.dispatchEvent(new CustomEvent('us-load-context-popup', {detail: {owner, repo, index}}));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue