Skip to content

Commit 107fc25

Browse files
committed
minor simplification to the on ready init
1 parent 0a7bdfd commit 107fc25

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

js/jquery.mobile.core.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,7 @@
206206

207207
//dom-ready inits
208208
if($.mobile.autoInitialize){
209-
$(function(){
210-
$.mobile.initializePage();
211-
});
209+
$($.mobile.initializePage);
212210
}
213211

214212

0 commit comments

Comments
 (0)