mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 06:33:50 +09:00
Hide virtual keyboard when tapping select elements
This commit is contained in:
@@ -869,6 +869,7 @@ function um_reset_field( dOm ){
|
|||||||
|
|
||||||
jQuery(function(){
|
jQuery(function(){
|
||||||
|
|
||||||
|
// Submit search form on keypress 'Enter'
|
||||||
jQuery(".um-search form *").keypress(function(e){
|
jQuery(".um-search form *").keypress(function(e){
|
||||||
if (e.which == 13) {
|
if (e.which == 13) {
|
||||||
jQuery('.um-search form').submit();
|
jQuery('.um-search form').submit();
|
||||||
@@ -876,4 +877,10 @@ jQuery(function(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Fixed touchscreen sensitivity
|
||||||
|
jQuery(document).on('touchend', function(){
|
||||||
|
jQuery(".select2-search, .select2-focusser").remove();
|
||||||
|
})
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user