aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_popover/user_popover.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/user_popover/user_popover.vue')
-rw-r--r--src/components/user_popover/user_popover.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/user_popover/user_popover.vue b/src/components/user_popover/user_popover.vue
index f4f505ae..c14cea4d 100644
--- a/src/components/user_popover/user_popover.vue
+++ b/src/components/user_popover/user_popover.vue
@@ -2,7 +2,7 @@
<Popover
trigger="click"
popover-class="popover-default user-popover"
- :overlay-centers-selector="overlayCentersSelector || '.user-info-avatar-link .Avatar'"
+ :overlay-centers-selector="overlayCentersSelector || '.user-info .Avatar'"
:overlay-centers="overlayCenters"
:disabled="disabled"
>
@@ -14,8 +14,9 @@
class="user-popover"
:user-id="userId"
:hide-bio="true"
- :allow-zooming-avatar="true"
- :onClose="close"
+ :allow-zooming-avatar="userPopoverZoom"
+ :on-avatar-click="userPopoverZoom ? null : close"
+ :on-close="close"
/>
</template>
</Popover>