mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 04:21:23 +01:00
Fix: Prevent sidebar toggle icons from affecting unrelated elements in responsive mode (#41822).
Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23307 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user