forked from 0x2620/oxjs
Only return Ox.Element if exactly one jquery element is return.
Fixes use of find, children
This commit is contained in:
parent
771d2be37b
commit
ac4dd51ed7
6 changed files with 14 additions and 16 deletions
|
|
@ -426,7 +426,7 @@ Ox.List = function(options, self) {
|
|||
function emptyFirstPage() {
|
||||
if (self.$pages[0]) {
|
||||
if (self.options.type == 'text') {
|
||||
self.$pages[0].$element.find('.OxEmpty').remove();
|
||||
self.$pages[0].find('.OxEmpty').remove();
|
||||
} else if (self.options.orientation == 'both') {
|
||||
that.$content.css({height: getListSize() + 'px'});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue