From 2dc5255c1663a440143c6ab645ba5f0ceff73081 Mon Sep 17 00:00:00 2001 From: Luke Warlow Date: Tue, 18 Feb 2025 17:07:33 +0000 Subject: [PATCH 1/2] Pass source to showPopover --- invoker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoker.js b/invoker.js index daa9b8e..26926ca 100644 --- a/invoker.js +++ b/invoker.js @@ -313,7 +313,7 @@ const shouldHide = !canShow && command === "hide-popover"; if (shouldShow) { - invokee.showPopover(); + invokee.showPopover({ source: source }); } else if (shouldHide) { invokee.hidePopover(); } From 760467eebe4d34e83356020521829aca203dcc15 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Tue, 18 Feb 2025 18:41:31 +0000 Subject: [PATCH 2/2] short-hand property --- invoker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoker.js b/invoker.js index 26926ca..9edae62 100644 --- a/invoker.js +++ b/invoker.js @@ -313,7 +313,7 @@ const shouldHide = !canShow && command === "hide-popover"; if (shouldShow) { - invokee.showPopover({ source: source }); + invokee.showPopover({ source }); } else if (shouldHide) { invokee.hidePopover(); }