Skip to content

Commit

Permalink
if needs to be ready, should have an index of -1, not 0. 0 is a valid…
Browse files Browse the repository at this point in the history
… index.
  • Loading branch information
robertleeplummerjr committed Feb 3, 2015
1 parent b107fa8 commit 88979dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "thaw.js",
"main": "thaw.js",
"version": "1.1.7",
"version": "1.1.8",
"homepage": "https://github.com/robertleeplummerjr/thaw.js",
"authors": [
"Robert Plummer <[email protected]> (http://visop-dev.com)"
Expand Down
2 changes: 1 addition & 1 deletion thaw.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var Thaw = (function(window) {
* @returns {boolean} if had to get ready
*/
makeReady: function() {
if (this.i < 1) {
if (this.i < 0) {
this.i = this.items.length;
return true;
}
Expand Down

0 comments on commit 88979dc

Please sign in to comment.