diff --git a/lib/jquery.uls/src/jquery.uls.core.js b/lib/jquery.uls/src/jquery.uls.core.js index 529b47a8..76a69c65 100644 --- a/lib/jquery.uls/src/jquery.uls.core.js +++ b/lib/jquery.uls/src/jquery.uls.core.js @@ -319,7 +319,7 @@ * On cancel handler for the uls menu */ cancel: function ( e ) { - if ( e && this.$element.is( e.target ) ) { + if ( e && ( this.$element.is( e.target ) || $.contains( this.$element[0], e.target ) ) ) { return; }