Skip to content

Commit

Permalink
fix: observer for show/hide Custom Layout sub-menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Jan 28, 2025
1 parent 261cbca commit 13fcd7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions assets/apps/dashboard/src/utils/module-observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ function autoHideModuleSubMenuPages() {
}

function run() {
// Run only on the Neve Pro tab.
if (window.location.hash === '#pro') {
autoHideModuleSubMenuPages();
}
autoHideModuleSubMenuPages();
}

if (document.readyState !== 'loading') {
Expand Down

0 comments on commit 13fcd7b

Please sign in to comment.