Fix preview frames scrollers

They were not properly updated when content was re-becoming smaller
than the scroller.
This commit is contained in:
Vince 2013-06-16 09:38:31 +02:00
parent 4208e40c24
commit 765f75f255

View File

@ -56,10 +56,10 @@
if (scrollBottom > treshold) {
overflowBottom = true;
}
}
var wrapper = $('#preview-list-wrapper');
wrapper.toggleClass('top-overflow-visible', overflowTop);
wrapper.toggleClass('bottom-overflow-visible', overflowBottom);
}
};
ns.PreviewFilmController.prototype.createPreviews_ = function () {