fix reloadList for InfoList
This commit is contained in:
parent
342b25d9cc
commit
7ea6938de5
1 changed files with 2 additions and 3 deletions
|
@ -127,7 +127,6 @@ Ox.InfoList = function(options, self) {
|
||||||
return $item;
|
return $item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function getItemWidth(cached) {
|
function getItemWidth(cached) {
|
||||||
if (!cached) {
|
if (!cached) {
|
||||||
self.cachedWidth = that.$element.width() - Ox.UI.SCROLLBAR_SIZE;
|
self.cachedWidth = that.$element.width() - Ox.UI.SCROLLBAR_SIZE;
|
||||||
|
@ -181,8 +180,8 @@ Ox.InfoList = function(options, self) {
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
||||||
that.reloadList = function() {
|
that.reloadList = function(stayAtPosition) {
|
||||||
that.$element.reloadList();
|
that.$element.reloadList(stayAtPosition);
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue