Skip to content

Commit

Permalink
Correctly manually refreshing even if automatic updates are suspended
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarsa committed Apr 9, 2010
1 parent 68c75b4 commit f080940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timelines/timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ TweetsTimeline.prototype = {
_fetchNewTweets: function(onFinishCallback) {
this._stopTimer();
var _this = this;
if ( this.manager.suspend ) {
if(this.manager.suspend && !onFinishCallback) {
this.timerId = setTimeout(function() { _this._fetchNewTweets.call(_this); }, this.template.refreshInterval);
return;
}
Expand Down

0 comments on commit f080940

Please sign in to comment.