Skip to content

Commit

Permalink
no transition if menu is locked
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Costello committed Jan 2, 2025
1 parent 5c682d3 commit 0346101
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,9 @@ hqDefine("cloudcare/js/formplayer/menus/views", [
showMenu: function () {
const persistantMenuRegionWidth = this.getPersistantMenuRegionWidth();
const persistentMenuContainer = $('#persistent-menu-container');
persistentMenuContainer.css('transition', 'width 0.25s');
if (sessionStorage.showPersistentMenu === "false") {
persistentMenuContainer.css('transition', 'width 0.25s');
}
persistentMenuContainer.css('width', persistantMenuRegionWidth);
$('#persistent-menu-container-content').removeClass('d-none');
this.menuExpanded = true;
Expand Down

0 comments on commit 0346101

Please sign in to comment.