Commit 86a8ee7169ed4b7ec0bcdb3ad040053104f77929

Authored by Braulio Bhavamitra
1 parent 793315ae

responsive: respect without text in button_to_remote_without_text

plugins/responsive/lib/ext/application_helper.rb
... ... @@ -81,7 +81,7 @@ module ApplicationHelper
81 81 size = html_options.delete(:size) || 'xs'
82 82 html_options[:class] = "" unless html_options[:class]
83 83 html_options[:class] << " btn btn-#{size} btn-#{option} icon-#{type}"
84   - link_to_remote(content_tag('span', label), options, html_options.merge(title: label))
  84 + link_to_remote('', options, html_options.merge(title: label))
85 85 end
86 86  
87 87 def icon(icon_name, html_options = {})
... ...