Merged r23307 from trunk to 6.0-stable (#41822).

git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23313 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2024-11-25 23:35:24 +00:00
parent 5621938fb1
commit 63fa6f2822

View File

@@ -1293,10 +1293,10 @@ function inlineAutoComplete(element) {
};
var applyState = function(){
if(main.hasClass('collapsedsidebar')){
updateSVGIcon(main[0], 'chevrons-left')
updateSVGIcon(document.getElementById('sidebar-switch-button'), 'chevrons-left')
setState('hidden');
} else {
updateSVGIcon(main[0], 'chevrons-right')
updateSVGIcon(document.getElementById('sidebar-switch-button'), 'chevrons-right')
setState('visible');
}
};