mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 00:13:45 +08:00
remove leftover code
This commit is contained in:
parent
8d49091572
commit
fa6687841f
|
@ -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 New Issue
Block a user