Skip to content

Commit

Permalink
[FIX] Custom emoji limit table scroll (#15119)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored and sampaiodiego committed Aug 7, 2019
1 parent 4b937c6 commit 8905390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/emoji-custom/client/admin/adminEmoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Template.adminEmoji.helpers({
if ((currentTarget.offsetHeight + currentTarget.scrollTop) < (currentTarget.scrollHeight - 100)) {
return;
}
if (Template.instance().limit.get() > Template.instance().customemoji().length) {
if (instance.limit.get() > instance.customemoji().length) {
return false;
}
instance.limit.set(instance.limit.get() + 50);
Expand Down

0 comments on commit 8905390

Please sign in to comment.