2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

PERF: don't render user card until displayed

This commit is contained in:
Sam 2014-12-11 15:42:12 +11:00
parent d2a7904bf2
commit 46720b1017

View file

@ -1,3 +1,4 @@
{{#if controller.visible}}
<div class="card-content">
{{#link-to 'user' user}}{{bound-avatar avatar "huge"}}{{/link-to}}
@ -75,3 +76,4 @@
</div>
{{/if}}
</div>
{{/if}}