don't set icon list container overflow-y to hidden when filling first page, finally fixes #538 (scrollbars disappear on search results view)

This commit is contained in:
rlx 2013-08-09 20:56:05 +00:00
parent edf1e01903
commit 3187d70972

View file

@ -529,10 +529,7 @@ Ox.List = function(options, self) {
var height = getHeight(), var height = getHeight(),
listSize = getListSize(); listSize = getListSize();
if (listSize < height) { if (listSize < height) {
that.$element.css({overflowY: 'hidden'});
that.$content.css({height: height + 'px'}); that.$content.css({height: height + 'px'});
} else {
that.$element.css({overflowY: 'auto'});
} }
} }
} }