Skip to content
Browse files

moved to win onload

  • Loading branch information...
1 parent 549ee90 commit cc9ccf43f27f0a089fd9ccc07699f1aeeb52e253 scottjehl committed Jan 25, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 js/jquery.mobile.support.js
View
6 js/jquery.mobile.support.js
@@ -94,7 +94,7 @@ function testHashMakesHistory(){
win.location.hash = prevHash;
}
- return historyMade;
+ $.support.hashMakesHistory = makesHistory;
};
$.extend( $.support, {
@@ -114,8 +114,4 @@ fakeBody.remove();
//for ruling out shadows via css
if( !$.support.boxShadow ){ $('html').addClass('ui-mobile-nosupport-boxshadow'); }
-$(function(){
- $.support.hashMakesHistory = testHashMakesHistory();
-});
-
})( jQuery );

0 comments on commit cc9ccf4

Please sign in to comment.
Something went wrong with that request. Please try again.