Skip to content

Commit

Permalink
new listener for paginator
Browse files Browse the repository at this point in the history
  • Loading branch information
santisiri committed Jun 20, 2018
1 parent 59468af commit 0ffecb1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion imports/ui/templates/widgets/feed/paginator.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Template.paginator.onRendered(function () {
const loaded = Template.instance().loaded;
let isScrolling;

$('.right').scroll(() => {
$('.split-left').scroll(() => {
Meteor.clearTimeout(isScrolling);
isScrolling = Meteor.setTimeout(function () {
if (!loaded.get()) {
Expand Down
5 changes: 0 additions & 5 deletions imports/ui/templates/widgets/tally/tally.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Session } from 'meteor/session';
import { query } from '/lib/views';
import { here } from '/lib/utils';
import { Transactions } from '/imports/api/transactions/Transactions';
import { Contracts } from '/imports/api/contracts/Contracts';
import { getUser } from '/imports/ui/templates/components/identity/avatar/avatar';

import '/imports/ui/templates/widgets/tally/tally.html';
Expand Down Expand Up @@ -175,10 +174,6 @@ Template.tally.onCreated(function () {

Template.tally.helpers({
vote() {
console.log(this.options.kind);
const feed = Template.instance().feed.get();
console.log(feed);
console.log('----');
return Template.instance().feed.get();
},
ready() {
Expand Down

0 comments on commit 0ffecb1

Please sign in to comment.