Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
feat(TxList): enable tx list refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Feb 17, 2016
1 parent 0e1bf07 commit 25ff401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transaction-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Object.defineProperties(TransactionList.prototype, {
}
});

TransactionList.prototype.fetchTxs = function (amount) {
var refresh = this._getContext().join() !== this._context.join()
TransactionList.prototype.fetchTxs = function (amount, refresh) {
var refresh = this._getContext().join() !== this._context.join() || refresh
, context = this._context = refresh ? this._getContext() : this._context
, txIndex = refresh ? 0 : this._txsFetched
, amount = amount || this.loadNumber
Expand Down

0 comments on commit 25ff401

Please sign in to comment.