fix for horizontal lists not having their full width
This commit is contained in:
parent
39501de9d0
commit
6784b07d24
1 changed files with 6 additions and 1 deletions
|
@ -6579,6 +6579,9 @@ requires
|
||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// fixme: without this, horizontal lists don't get their full width ... weird
|
||||||
|
self.options.orientation == 'horizontal' && that.$content.css({height: '1px'});
|
||||||
|
|
||||||
$.extend(self, {
|
$.extend(self, {
|
||||||
$items: [],
|
$items: [],
|
||||||
$pages: [],
|
$pages: [],
|
||||||
|
@ -7201,7 +7204,9 @@ requires
|
||||||
self.$items[pos].appendTo(self.$pages[page]);
|
self.$items[pos].appendTo(self.$pages[page]);
|
||||||
});
|
});
|
||||||
self.options.type == 'text' && page == 0 && fillFirstPage();
|
self.options.type == 'text' && page == 0 && fillFirstPage();
|
||||||
$emptyPage.remove();
|
// fixme: why does emptyPage sometimes have no methods?
|
||||||
|
Ox.print('emptyPage', $emptyPage)
|
||||||
|
$emptyPage.removeElement && $emptyPage.removeElement();
|
||||||
self.$pages[page].appendTo(that.$content);
|
self.$pages[page].appendTo(that.$content);
|
||||||
!Ox.isUndefined(callback) && callback(); // fixme: callback necessary? why not bind to event?
|
!Ox.isUndefined(callback) && callback(); // fixme: callback necessary? why not bind to event?
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Reference in a new issue