Skip to content

Commit

Permalink
scoped to window
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjehl committed Nov 9, 2010
1 parent 4b862bb commit 4b05809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/jquery.mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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});
Expand Down

0 comments on commit 4b05809

Please sign in to comment.