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;
|
||||
}
|
||||
|
||||
|
||||
function getItemWidth(cached) {
|
||||
if (!cached) {
|
||||
self.cachedWidth = that.$element.width() - Ox.UI.SCROLLBAR_SIZE;
|
||||
|
@ -181,8 +180,8 @@ Ox.InfoList = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
that.reloadList = function() {
|
||||
that.$element.reloadList();
|
||||
that.reloadList = function(stayAtPosition) {
|
||||
that.$element.reloadList(stayAtPosition);
|
||||
return that;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue