Skip to content

Commit 0eebf16

Browse files
committed
Update hide_sidebar_controller.js
With this fix, the sidebar state is reapplied correctly on page reload.
1 parent 57a0dfd commit 0eebf16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/controllers/common/hide_sidebar_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default class extends Controller {
5151

5252
//Make the state persistent over reloads
5353
if(localStorage.getItem(STORAGE_KEY) === 'true') {
54-
sidebarHide();
54+
this.hideSidebar();
5555
}
5656
}
5757

0 commit comments

Comments
 (0)