Skip to content

Commit

Permalink
Revert some wrong changes
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Mar 27, 2024
1 parent 0738730 commit 5206f72
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@
}
mainMenuItems.forEach(menuItem => {
/* 'config' is the Profiler configuration panel, which is always displayed as the last item */
const isConfigMenuItem = 'config' === menuItem.getAttribute('class').trim();
const isDisabled = menuItem.querySelector('a > span.disabled');
if (!isConfigMenuItem && !isDisabled) {
if (!isDisabled) {
mainMenuElement.insertBefore(menuItem, firstDisabledMenuItem);
}
});
Expand Down

0 comments on commit 5206f72

Please sign in to comment.