mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-21 06:40:59 +00:00
blur the active/focused element on changepage sooner. Thx @goulvench
This commit is contained in:
parent
74ebc360ca
commit
2931fffb91
1 changed files with 3 additions and 3 deletions
|
|
@ -166,6 +166,9 @@
|
|||
|
||||
//reset base to pathname for new request
|
||||
if(base){ base.reset(); }
|
||||
|
||||
//kill the keyboard
|
||||
$( window.document.activeElement ).add(':focus').blur();
|
||||
|
||||
// if the new href is the same as the previous one
|
||||
if ( back ) {
|
||||
|
|
@ -179,9 +182,6 @@
|
|||
|
||||
//function for transitioning between two existing pages
|
||||
function transitionPages() {
|
||||
|
||||
//kill the keyboard
|
||||
$( window.document.activeElement ).blur();
|
||||
|
||||
//get current scroll distance
|
||||
var currScroll = $window.scrollTop();
|
||||
|
|
|
|||
Loading…
Reference in a new issue