A platform for community discussion. Free, open, simple.
FEATURE: send user-card:show event (#13910)
Krzysztof Kotlarek706393375550
diff --git a/app/assets/javascripts/discourse/app/mixins/card-contents-base.js b/app/assets/javascripts/discourse/app/mixins/card-contents-base.jsindex 1eafd024807..486c5ebbc4b 100644--- a/app/assets/javascripts/discourse/app/mixins/card-contents-base.js+++ b/app/assets/javascripts/discourse/app/mixins/card-contents-base.js@@ -74,6 +74,7 @@ export default Mixin.create({post,});+ this.appEvents.trigger("user-card:show", { username });this._showCallback(username, $(target));// We bind scrolling on mobile after cards are shown to hide them if user scrolls