Fix Bug 32998.
This commit is contained in:
parent
1e1ea2c49f
commit
b0c7c000f7
|
@ -211,8 +211,17 @@ define([
|
||||||
openMenu: function(delay) {
|
openMenu: function(delay) {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
|
if ( !this.scroller ) {
|
||||||
|
this.scroller = new Common.UI.Scroller(_.extend({
|
||||||
|
el: $('.dropdown-menu', this.cmpEl),
|
||||||
|
minScrollbarLength: 40,
|
||||||
|
scrollYMarginOffset: 30,
|
||||||
|
includePadding: true
|
||||||
|
}, this.options.scroller));
|
||||||
|
}
|
||||||
|
|
||||||
_.delay(function(){
|
_.delay(function(){
|
||||||
me.cmpEl.addClass('open')
|
me.cmpEl.addClass('open');
|
||||||
}, delay || 0);
|
}, delay || 0);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue