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 --- public/javascripts/gantt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/javascripts/gantt.js') 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); -- cgit v1.2.3