diff --git a/source/Ox.UI/js/Form/Button.js b/source/Ox.UI/js/Form/Button.js index b3f725a6..337bc284 100644 --- a/source/Ox.UI/js/Form/Button.js +++ b/source/Ox.UI/js/Form/Button.js @@ -66,7 +66,7 @@ Ox.Button = function(options, self) { self.options.selectable && setSelected(); }, width: function() { - that.$element.css({width: (self.options.width - 14) + 'px'}); + that.css({width: (self.options.width - 14) + 'px'}); } }) .addClass(