Skip to content

Commit

Permalink
fix(infiniteGrid): clean _top/bottomElement variable (naver#283)
Browse files Browse the repository at this point in the history
ref o-281
  • Loading branch information
sculove authored and Taihoon Kim committed Sep 20, 2016
1 parent 81c5090 commit 0fe2338
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/infiniteGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ eg.module("infiniteGrid", ["jQuery", eg, window, document], function($, ns, glob
this.el.style.cssText = status.cssText;
this.el.innerHTML = status.html;
$.extend(this, status.prop);
this._topElement = this._bottomElement = null;
this.items = $.map(this.el.children, function(v, i) {
status.items[i].el = v;
return status.items[i];
Expand Down

0 comments on commit 0fe2338

Please sign in to comment.