mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
remove leftover code
This commit is contained in:
parent
8d49091572
commit
fa6687841f
1 changed files with 0 additions and 4 deletions
|
@ -88,12 +88,8 @@ const CloakedCollectionView = Ember.CollectionView.extend({
|
|||
// but much faster value
|
||||
parentOffsetTop = $view.offsetParent().offset().top,
|
||||
offsetTop = $view.offset().top,
|
||||
|
||||
viewBottom = (offsetTop - parentOffsetTop) + wrapperTop + $view.height();
|
||||
|
||||
|
||||
console.log(viewBottom);
|
||||
|
||||
if (viewBottom > viewportTop) {
|
||||
max = mid-1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue