Commit 56b71ddb authored by Thomas Rothe's avatar Thomas Rothe

don't set buttonWidth if it's set to auto

setting width = auto on element will prevent the element from being
formatted via CSS
parent eec0b51e
......@@ -209,7 +209,7 @@
}
// Manually add button width if set.
if (this.options.buttonWidth) {
if (this.options.buttonWidth && this.options.buttonWidth != 'auto') {
this.$button.css({
'width' : this.options.buttonWidth
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment