mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-01 19:34:42 +00:00
scoped to window
This commit is contained in:
parent
4b862bb114
commit
4b058096cf
1 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@
|
|||
};
|
||||
|
||||
//trigger mobileinit event - useful hook for configuring $.mobile settings before they're used
|
||||
$(document).trigger('mobileinit');
|
||||
$( window.document ).trigger('mobileinit');
|
||||
|
||||
//if device support condition(s) aren't met, leave things as they are -> a basic, usable experience,
|
||||
//otherwise, proceed with the enhancements
|
||||
|
|
@ -335,7 +335,7 @@
|
|||
function transitionPages() {
|
||||
|
||||
//kill the keyboard
|
||||
jQuery( document.activeElement ).blur();
|
||||
jQuery( window.document.activeElement ).blur();
|
||||
|
||||
//trigger before show/hide events
|
||||
from.data("page")._trigger("beforehide", {nextPage: to});
|
||||
|
|
|
|||
Loading…
Reference in a new issue