Commit f2604e91 authored by David Stutz's avatar David Stutz

Merge pull request #221 from Powerhamster/width-patch

don't set buttonWidth if it's set to auto
parents b304b871 56b71ddb
......@@ -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