This repository has been archived by the owner on Dec 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remember user preference for the visibility of the "about" panel (#276)
* sidebar.toggle() now takes a boolean to tell if ths action was user-generated or not, to store this preference in the sessionStorage of the user's browser Signed-off-by: Louis Vallat <louis@louis-vallat.xyz> * Added the hooks to toggle sidebar if not visible when showing the button_info, according to the last user's choice Signed-off-by: Louis Vallat <louis@louis-vallat.xyz> * Fixed trailing spaces Signed-off-by: Louis Vallat <louis@louis-vallat.xyz> * Fixed the bad formatting Signed-off-by: Louis Vallat <louis@louis-vallat.xyz> * Changed sessionStorage name from sidebarUserPreferenceVisible to keepSidebarVisible Signed-off-by: Louis Vallat <louis@louis-vallat.xyz> * Renamed sidebar.userPreferenceVisibility() to sidebar.keepSidebarVisible() Signed-off-by: Louis Vallat <louis@louis-vallat.xyz> * Make it compile Co-authored-by: kamil4 <kamil.01482@iskra.name>
- Loading branch information
1 parent
63828eb
commit a071305
Showing
6 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters