aboutsummaryrefslogtreecommitdiff
path: root/src/components/popover/popover.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2021-05-31 11:15:44 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2021-05-31 11:15:44 +0000
commit0ca0e642a43a75f8e903db7361158ad32b84ecc4 (patch)
treefd96ac1da4e8b463cc3094dfdf4c88103179c673 /src/components/popover/popover.js
parent4e96af044224dc10b8cc4eb270e025f1b8a1d29a (diff)
parent80220c1b07436098a8d87ffc0fc49fadc79ac9a4 (diff)
Merge branch 'v-slot-upgrade' into 'develop'
Change old slot syntax (removed in vue3) to new one See merge request pleroma/pleroma-fe!1379
Diffstat (limited to 'src/components/popover/popover.js')
-rw-r--r--src/components/popover/popover.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js
index bc6cd8e7..6ccf32f0 100644
--- a/src/components/popover/popover.js
+++ b/src/components/popover/popover.js
@@ -54,7 +54,7 @@ const Popover = {
}
// Popover will be anchored around this element, trigger ref is the container, so
- // its children are what are inside the slot. Expect only one slot="trigger".
+ // its children are what are inside the slot. Expect only one v-slot:trigger.
const anchorEl = (this.$refs.trigger && this.$refs.trigger.children[0]) || this.$el
// SVGs don't have offsetWidth/Height, use fallback
const anchorWidth = anchorEl.offsetWidth || anchorEl.clientWidth