From 1245708ba77b66ae4ab88434757ca4d9c965ae53 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 8 Nov 2021 20:14:49 +0000 Subject: Fix typo in class 'icon-expended' (#36149). Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/helpers/gantt.rb | 2 +- lib/redmine/wiki_formatting/macros.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 6b40bc844..0d5803c3d 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -784,7 +784,7 @@ module Redmine } end if has_children - content = view.content_tag(:span, nil, :class => 'icon icon-expended expander') + content + content = view.content_tag(:span, nil, :class => 'icon icon-expanded expander') + content tag_options[:class] += ' open' else if params[:indent] diff --git a/lib/redmine/wiki_formatting/macros.rb b/lib/redmine/wiki_formatting/macros.rb index e5f196306..d1a9e81ca 100644 --- a/lib/redmine/wiki_formatting/macros.rb +++ b/lib/redmine/wiki_formatting/macros.rb @@ -250,7 +250,7 @@ module Redmine link_to_function( hide_label, js, :id => "#{html_id}-hide", - :class => 'icon icon-expended collapsible', + :class => 'icon icon-expanded collapsible', :style => 'display:none;' ) out << -- cgit v1.2.3