Default to auto width if container has 0 width (hidden)
This commit is contained in:
parent
9c4a4d1b8a
commit
9baada2a5c
@ -1033,7 +1033,7 @@
|
|||||||
return matches[1];
|
return matches[1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return this.opts.element.width() + 'px';
|
return (this.opts.element.width() === 0 ? 'auto' : this.opts.element.width() + 'px');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user