Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix event test so it doesn't break without an event parameter

  • Loading branch information...
commit 13c4df8a5a28bdfb801e4da52b83aad3b7834a0d 1 parent 6113cac
Kris Zyp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  OnDemandList.js
2  OnDemandList.js
View
@@ -169,7 +169,7 @@ return declare([List, _StoreMixin], {
var grid = this,
scrollNode = grid.bodyNode,
transform = grid.contentNode.style.webkitTransform,
- visibleTop = event.pseudoTouch ? scrollNode.instantScrollTop : scrollNode.scrollTop,
+ visibleTop = event && event.pseudoTouch ? scrollNode.instantScrollTop : scrollNode.scrollTop,
visibleBottom = scrollNode.offsetHeight + visibleTop,
priorPreload, preloadNode, preload = grid.preload,
lastScrollTop = grid.lastScrollTop,
Please sign in to comment.
Something went wrong with that request. Please try again.