in themes/kube/static/js/kube.js [1449:1462]
enableEvents: function()
{
if (this.detect.isDesktop())
{
this.$target.on('mouseover.' + this.namespace, $.proxy(this.utils.disableBodyScroll, this.utils))
.on('mouseout.' + this.namespace, $.proxy(this.utils.enableBodyScroll, this.utils));
}
$(document).on('scroll.' + this.namespace, $.proxy(this.setPosition, this));
$(window).on('resize.' + this.namespace, $.proxy(this.setPosition, this));
$(document).on('click.' + this.namespace + ' touchstart.' + this.namespace, $.proxy(this.close, this));
$(document).on('keydown.' + this.namespace, $.proxy(this.handleKeyboard, this));
this.$target.find('[data-action="dropdown-close"]').on('click.' + this.namespace, $.proxy(this.close, this));
},