Refactoring
This commit is contained in:
parent
5fc4fb4bee
commit
61ea26c70b
|
@ -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());
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue