From 155a7c2455022d5a2c8be57425f8c844abdc48ff Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 3 Apr 2013 17:29:59 +0000 Subject: [PATCH] Don't use jQuery.on('ready'). props obenland. see #23875. git-svn-id: http://core.svn.wordpress.org/trunk@23891 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/twentythirteen/js/functions.js b/wp-content/themes/twentythirteen/js/functions.js index a11ae77ff5..3d03f1a322 100644 --- a/wp-content/themes/twentythirteen/js/functions.js +++ b/wp-content/themes/twentythirteen/js/functions.js @@ -30,7 +30,7 @@ } }; - $( document ).on( 'ready', function() { + $( function() { twentyThirteen.adjustAnchor(); if ( body.is( '.sidebar' ) )