Refactoring

This commit is contained in:
Julia Radzhabova 2020-08-11 19:33:58 +03:00
parent 5fc4fb4bee
commit 61ea26c70b
3 changed files with 3 additions and 12 deletions

View file

@ -1097,10 +1097,7 @@ define([
updateScroller: function(destroy) {
if (this.scroller) {
this.scroller.update(destroy ? {
suppressScrollX: true,
alwaysVisibleY: true
} : undefined);
this.scroller.update(destroy ? {} : undefined);
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
}
},

View file

@ -968,10 +968,7 @@ define([
updateScroller: function(destroy) {
if (this.scroller) {
this.scroller.update(destroy ? {
suppressScrollX: true,
alwaysVisibleY: true
} : undefined);
this.scroller.update(destroy ? {} : undefined);
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
}
},

View file

@ -1809,10 +1809,7 @@ define([
updateScroller: function(destroy) {
if (this.scroller) {
this.scroller.update(destroy ? {
suppressScrollX: true,
alwaysVisibleY: true
} : undefined);
this.scroller.update(destroy ? {} : undefined);
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
}
},