Permalink
Browse files

bugfix ....

  • Loading branch information...
1 parent 47e4322 commit dc87854a92e212f5bc7b136607d33ba52c2bbec1 @mcanato committed Jul 19, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/twitter-bootstrap-markup-rails/components/button.rb
View
2 lib/twitter-bootstrap-markup-rails/components/button.rb
@@ -45,9 +45,11 @@ def build_class
end
def build_icon
+=begin
if (options[:icon][:color].eql?(:white) || options[:type].blank?)
options[:icon] = { :color => :white }
end
+=end
Icon.new(options[:icon]).to_s
end

0 comments on commit dc87854

Please sign in to comment.