diff --git a/css/jquery.uls.css b/css/jquery.uls.css index f581c8e..4fd4575 100644 --- a/css/jquery.uls.css +++ b/css/jquery.uls.css @@ -154,7 +154,7 @@ input#languagefilter { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset; color: #333; display: block; - background-color: transparent; + background-color: transparent !important; } input:focus#languagefilter { diff --git a/src/jquery.uls.core.js b/src/jquery.uls.core.js index cef1009..776aee6 100644 --- a/src/jquery.uls.core.js +++ b/src/jquery.uls.core.js @@ -264,8 +264,8 @@ if ( e.keyCode === 27 ) { // escape this.hide(); e.preventDefault(); + e.stopPropagation(); } - e.stopPropagation(); }, keypress: function( e ) { @@ -275,8 +275,8 @@ if ( e.keyCode === 27 ) { // escape this.hide(); e.preventDefault(); + e.stopPropagation(); } - e.stopPropagation(); }, click: function( e ) {