diff --git a/src/jquery.uls.core.js b/src/jquery.uls.core.js index 529b47a..76a69c6 100644 --- a/src/jquery.uls.core.js +++ b/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; }