From 86a8ee7169ed4b7ec0bcdb3ad040053104f77929 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Fri, 31 Jul 2015 19:57:15 -0300 Subject: [PATCH] responsive: respect without text in button_to_remote_without_text --- plugins/responsive/lib/ext/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/responsive/lib/ext/application_helper.rb b/plugins/responsive/lib/ext/application_helper.rb index 6231a35..3e98375 100644 --- a/plugins/responsive/lib/ext/application_helper.rb +++ b/plugins/responsive/lib/ext/application_helper.rb @@ -81,7 +81,7 @@ module ApplicationHelper size = html_options.delete(:size) || 'xs' html_options[:class] = "" unless html_options[:class] html_options[:class] << " btn btn-#{size} btn-#{option} icon-#{type}" - link_to_remote(content_tag('span', label), options, html_options.merge(title: label)) + link_to_remote('', options, html_options.merge(title: label)) end def icon(icon_name, html_options = {}) -- libgit2 0.21.2