Commit 86a8ee7169ed4b7ec0bcdb3ad040053104f77929
1 parent
793315ae
Exists in
master
and in
29 other branches
responsive: respect without text in button_to_remote_without_text
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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 = {}) | ... | ... |