Skip to content

Commit

Permalink
Merge pull request #1098 from nicolas-eoxia/fix_menu
Browse files Browse the repository at this point in the history
#1097 [JS] fix: manage help button on menu
  • Loading branch information
nicolas-eoxia authored Oct 9, 2024
2 parents a54c5fd + 9ca19fe commit 631ec3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/modules/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ window.saturne.menu.event = function() {
*/
window.saturne.menu.toggleMenu = function() {

var menu = $(this).closest('#id-left').find('a.vmenu, span.vmenudisabled, span.vmenu, a.vsmenu');
var menu = $(this).closest('#id-left').find('a.vmenu, span.vmenudisabled, span.vmenu, a.vsmenu, a.help');
var elementParent = $(this).closest('#id-left').find('div.vmenu')
var text = '';

Expand Down Expand Up @@ -124,7 +124,7 @@ window.saturne.menu.setMenu = function() {

if (localStorage.maximized == 'false') {
var text = '';
var menu = $('#id-left').find('a.vmenu, span.vmenudisabled, span.vmenu, a.vsmenu');
var menu = $('#id-left').find('a.vmenu, span.vmenudisabled, span.vmenu, a.vsmenu, a.help');
var elementParent = $(document).find('div.vmenu')

menu.each(function () {
Expand Down
Loading

0 comments on commit 631ec3f

Please sign in to comment.