some fixes for icon list resize
This commit is contained in:
parent
5ac1e5e2bf
commit
11cc787d84
1 changed files with 2 additions and 1 deletions
|
@ -6338,6 +6338,7 @@ requires
|
|||
function loadPages(page, callback) {
|
||||
var counter = 0,
|
||||
fn = function() {
|
||||
Ox.print('---- self.$pages', self.$pages)
|
||||
++counter == 2 && !Ox.isUndefined(callback) && callback();
|
||||
};
|
||||
loadPage(page, function() {
|
||||
|
@ -6658,7 +6659,7 @@ requires
|
|||
self.rowLength = rowLength;
|
||||
self.pageWidth = (self.options.itemWidth + self.itemMargin) * self.rowLength;
|
||||
$.each(self.$pages, function(i, $page) {
|
||||
$page.css({
|
||||
!Ox.isUndefined($page) && $page.css({
|
||||
width: self.pageWidth + 'px'
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue