Skip to content

Commit

Permalink
Make .init() call on script load not $(document).ready
Browse files Browse the repository at this point in the history
  • Loading branch information
swook committed Feb 17, 2012
1 parent 884504c commit af5ca5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jquery.ajaxify.js
Expand Up @@ -205,8 +205,6 @@
$.Ajaxify.pageChange_funcs.push(func);
};

$(document).ready($.Ajaxify.init);

$(window).on('popstate', function (e) {
if ($.browser.webkit && !$.Ajaxify.init_pop) {
$.Ajaxify.init_pop = true;
Expand All @@ -221,4 +219,6 @@
$.Ajaxify.applyData(state.url);
}
});

$.Ajaxify.init();
})( jQuery );
2 changes: 1 addition & 1 deletion jquery.ajaxify.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified jquery.ajaxify.min.js.gz
Binary file not shown.

0 comments on commit af5ca5a

Please sign in to comment.