Skip to content

Commit

Permalink
fix(listView): do not scroll freeze when no scrollView
Browse files Browse the repository at this point in the history
Closes #3174
  • Loading branch information
adamdbradley committed Mar 4, 2015
1 parent 4a0e317 commit 811cc27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/views/listView.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,9 @@
_handleEndDrag: function(e) {
var self = this;

self.isScrollFreeze = self.scrollView.freeze(false);
if (self.scrollView) {
self.isScrollFreeze = self.scrollView.freeze(false);
}

self._didDragUpOrDown = false;

Expand Down

0 comments on commit 811cc27

Please sign in to comment.