Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gurayyarar committed Jun 16, 2018
2 parents 2495e04 + 7acb5b8 commit 6d92bba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ $.AdminBSB.leftSideBar = {

//Set menu height
_this.setMenuHeight(true);
_this.checkStatuForResize(true);
_this.checkStatusForResize(true);
$(window).resize(function () {
_this.setMenuHeight(false);
_this.checkStatuForResize(false);
_this.checkStatusForResize(false);
});

//Set Waves
Expand All @@ -113,7 +113,7 @@ $.AdminBSB.leftSideBar = {
var height = ($(window).height() - ($('.legal').outerHeight() + $('.user-info').outerHeight() + $('.navbar').innerHeight()));
var $el = $('.list');

if(!isFirstTime) {
if (!isFirstTime) {
$el.slimscroll({
destroy: true
});
Expand All @@ -138,7 +138,7 @@ $.AdminBSB.leftSideBar = {
}
}
},
checkStatuForResize: function (firstTime) {
checkStatusForResize: function (firstTime) {
var $body = $('body');
var $openCloseBar = $('.navbar .navbar-header .bars');
var width = $body.width();
Expand Down

0 comments on commit 6d92bba

Please sign in to comment.