1
0
mirror of synced 2024-11-30 00:26:03 +03:00

fix bug with determing the width. fixes #242

This commit is contained in:
Igor Vaynberg 2012-07-20 00:56:37 +03:00
parent a718dc45a0
commit 0d5be21e09

View File

@ -1138,6 +1138,8 @@
// finally, fallback on the calculated width of the element // finally, fallback on the calculated width of the element
return (this.opts.element.outerWidth() === 0 ? 'auto' : this.opts.element.outerWidth() + 'px'); return (this.opts.element.outerWidth() === 0 ? 'auto' : this.opts.element.outerWidth() + 'px');
} }
return null;
} else { } else {
return this.opts.width; return this.opts.width;
} }