summaryrefslogtreecommitdiffstats
path: root/public/javascripts/gantt.js
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-11-08 20:14:49 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-11-08 20:14:49 +0000
commit1245708ba77b66ae4ab88434757ca4d9c965ae53 (patch)
tree69afc6fc339758698d8ebd462efb0673bcdacc9e /public/javascripts/gantt.js
parentc24b019c627ce159a258ac853c9f909627acbbd8 (diff)
downloadredmine-1245708ba77b66ae4ab88434757ca4d9c965ae53.tar.gz
redmine-1245708ba77b66ae4ab88434757ca4d9c965ae53.zip
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
Diffstat (limited to 'public/javascripts/gantt.js')
-rw-r--r--public/javascripts/gantt.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/javascripts/gantt.js b/public/javascripts/gantt.js
index e3db1f796..04e745def 100644
--- a/public/javascripts/gantt.js
+++ b/public/javascripts/gantt.js
@@ -241,12 +241,12 @@ ganttEntryClick = function(e){
var iconChange = null;
if(subject.hasClass('open'))
iconChange = function(element){
- $(element).find('.expander').switchClass('icon-expended', 'icon-collapsed');
+ $(element).find('.expander').switchClass('icon-expanded', 'icon-collapsed');
$(element).removeClass('open');
};
else
iconChange = function(element){
- $(element).find('.expander').switchClass('icon-collapsed', 'icon-expended');
+ $(element).find('.expander').switchClass('icon-collapsed', 'icon-expanded');
$(element).addClass('open');
};
iconChange(subject);