Skip to content

Commit

Permalink
fix(feed): type in adding feed entity
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Jun 18, 2018
1 parent 9c7379e commit ecac7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = class Feed {
if(this.feed.length >= this.max)
{
//cleanup
for(let i = this.feed.length - 1; i <= 0; i--)
for(let i = this.feed.length - 1; i >= 0; i--)
if(this._compare(this.feed[i]) <= 0)
this.feed.pop()
else
Expand Down

0 comments on commit ecac7f4

Please sign in to comment.