From 31a062134b7adc66c303fbf46e87925184cf0378 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 14 Sep 2016 14:13:27 -0300 Subject: [PATCH] chat: fix status menu html_safe --- app/helpers/chat_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/chat_helper.rb b/app/helpers/chat_helper.rb index 584d3af..7b3595b 100644 --- a/app/helpers/chat_helper.rb +++ b/app/helpers/chat_helper.rb @@ -14,7 +14,7 @@ module ChatHelper :class => icon_class + ' simplemenu-trigger' ) + content_tag('ul', - links.map{|link| content_tag('li', link_to(link[1], '', :class => link[0], :id => link[2], 'data-jid' => user.jid), :class => 'simplemenu-item') }.join("\n"), + links.map{|link| content_tag('li', link_to(link[1], '', :class => link[0], :id => link[2], 'data-jid' => user.jid), :class => 'simplemenu-item') }.join("\n").html_safe, :style => 'display: none; z-index: 100', :class => 'simplemenu-submenu' ), -- libgit2 0.21.2