Skip to content

Commit

Permalink
Prevent starting the auto-roate interval twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthierm committed Mar 21, 2013
1 parent bb0c8b6 commit d1b371d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion media/js/mozilla-pager.js
Expand Up @@ -722,7 +722,9 @@ Mozilla.Pager.prototype.startAutoRotate = function()
Mozilla.Pager.AUTO_ROTATE_INTERVAL, pager)
}

setupInterval(this);
if (!this.autoRotateInterval) {
setupInterval(this);
}
};

// }}}
Expand Down

0 comments on commit d1b371d

Please sign in to comment.