summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-01-07 01:51:33 +0000
committerGo MAEDA <maeda@farend.jp>2020-01-07 01:51:33 +0000
commiteb6e390ee8b9c6600a1723bb2d7ede5ceda3f210 (patch)
tree390c7eeed08f9fe4eb6e349e4681cc245d193e91 /lib/redmine
parentd06b8bbb535f36a90023da166c2a51d349220edc (diff)
downloadredmine-eb6e390ee8b9c6600a1723bb2d7ede5ceda3f210.tar.gz
redmine-eb6e390ee8b9c6600a1723bb2d7ede5ceda3f210.zip
Reverts r19409 that breaks some tests (#32754).
git-svn-id: http://svn.redmine.org/redmine/trunk@19410 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r--lib/redmine/wiki_formatting/macros.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb
index 0e1e4234c..53276834f 100644
--- a/lib/redmine/wiki_formatting/macros.rb
+++ b/lib/redmine/wiki_formatting/macros.rb
@@ -234,8 +234,8 @@ module Redmine
hide_label = args[1] || args[0] || l(:button_hide)
js = "$('##{html_id}-show, ##{html_id}-hide').toggle(); $('##{html_id}').fadeToggle(150);"
out = ''.html_safe
- out << link_to_function(show_label, js, :id => "#{html_id}-show", :class => 'icon icon-collapsed collapsible')
- out << link_to_function(hide_label, js, :id => "#{html_id}-hide", :class => 'icon icon-expended collapsible', :style => 'display:none;')
+ out << link_to_function(show_label, js, :id => "#{html_id}-show", :class => 'collapsible collapsed')
+ out << link_to_function(hide_label, js, :id => "#{html_id}-hide", :class => 'collapsible', :style => 'display:none;')
out << content_tag('div', textilizable(text, :object => obj, :headings => false, :inline_attachments => @@inline_attachments), :id => html_id, :class => 'collapsed-text', :style => 'display:none;')
out
end