mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 02:53:40 +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
|
// but much faster value
|
||||||
parentOffsetTop = $view.offsetParent().offset().top,
|
parentOffsetTop = $view.offsetParent().offset().top,
|
||||||
offsetTop = $view.offset().top,
|
offsetTop = $view.offset().top,
|
||||||
|
|
||||||
viewBottom = (offsetTop - parentOffsetTop) + wrapperTop + $view.height();
|
viewBottom = (offsetTop - parentOffsetTop) + wrapperTop + $view.height();
|
||||||
|
|
||||||
|
|
||||||
console.log(viewBottom);
|
|
||||||
|
|
||||||
if (viewBottom > viewportTop) {
|
if (viewBottom > viewportTop) {
|
||||||
max = mid-1;
|
max = mid-1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user