Skip to content

Commit

Permalink
Added a check before disposing the size indicator.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis.gid committed May 17, 2010
1 parent 2e4c191 commit fd29f11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@

if(this.currentItemIndex >= this.data.length){
clearInterval(this.updateIntervalID);
this.sizeIndicator.dispose();
if(this.sizeIndicator)
this.sizeIndicator.dispose();
}
},

Expand Down

0 comments on commit fd29f11

Please sign in to comment.