mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
clarification
This commit is contained in:
parent
6a4d74d9f8
commit
03508b72b9
@ -74,6 +74,8 @@ export default Ember.Component.extend({
|
|||||||
const $recentSection = $list.find(".section[data-section='recent']");
|
const $recentSection = $list.find(".section[data-section='recent']");
|
||||||
const $recentSectionGroup = $recentSection.find(".section-group");
|
const $recentSectionGroup = $recentSection.find(".section-group");
|
||||||
const $recentCategory = $picker.find(".category-icon a[title='recent']").parent();
|
const $recentCategory = $picker.find(".category-icon a[title='recent']").parent();
|
||||||
|
|
||||||
|
// we set height to 0 to avoid it being taken into account for scroll position
|
||||||
if(_.isEmpty(this.get("recentEmojis"))) {
|
if(_.isEmpty(this.get("recentEmojis"))) {
|
||||||
$recentCategory.hide();
|
$recentCategory.hide();
|
||||||
$recentSection.css("height", 0).hide();
|
$recentSection.css("height", 0).hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user