diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 751b7e05..5fc74b61 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -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){