From 4ca0a4c8bb1d5fe70517e27d63af8b45056b7e07 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: https://develop.svn.wordpress.org/trunk@23891 602fd350-edb4-49c9-b593-d223f7449a82 --- 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' ) )