mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-15 01:53:09 +00:00
activeElement conditional for windows support Fixes #1294
This commit is contained in:
parent
280394757b
commit
5c37beaa29
1 changed files with 3 additions and 1 deletions
|
|
@ -363,7 +363,9 @@
|
|||
if(base){ base.reset(); }
|
||||
|
||||
//kill the keyboard
|
||||
$( window.document.activeElement ).add( "input:focus, textarea:focus, select:focus" ).blur();
|
||||
if( window.document.activeElement ){
|
||||
$( window.document.activeElement || "" ).add( "input:focus, textarea:focus, select:focus" ).blur();
|
||||
}
|
||||
|
||||
function defaultTransition(){
|
||||
if(transition === undefined){
|
||||
|
|
|
|||
Loading…
Reference in a new issue