Skip to content

Commit

Permalink
Fix content not resizing when page is not on the sidebar menu
Browse files Browse the repository at this point in the history
  • Loading branch information
christianesperar committed May 28, 2016
1 parent 44fddfd commit 0162606
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ $(document).ready(function() {
setContentHeight();
});

setContentHeight();

// fixed sidebar
if ($.fn.mCustomScrollbar) {
$('.menu_fixed').mCustomScrollbar({
Expand Down
2 changes: 1 addition & 1 deletion build/js/custom.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ $(document).ready(function() {
setContentHeight();
});

setContentHeight();

// fixed sidebar
if ($.fn.mCustomScrollbar) {
$('.menu_fixed').mCustomScrollbar({
Expand Down

0 comments on commit 0162606

Please sign in to comment.