From 10314c8cb42fe34fabe04f51f3b07da583976eb5 Mon Sep 17 00:00:00 2001 From: Michael Fields Date: Tue, 6 Mar 2012 14:03:39 +0000 Subject: [PATCH] _s: Script dependancies need to be given as an array. Remove unneeded jQuery enqueue. git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9086 d957f892-c61d-0410-b221-f235e6eecf30 --- functions.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions.php b/functions.php index cf3e149c..b7fda767 100644 --- a/functions.php +++ b/functions.php @@ -104,9 +104,7 @@ function _s_scripts() { wp_enqueue_style( 'style', get_stylesheet_uri() ); - wp_enqueue_script( 'jquery' ); - - wp_enqueue_script( 'small-menu', get_template_directory_uri() . '/js/small-menu.js', 'jquery', '20120206', true ); + wp_enqueue_script( 'small-menu', get_template_directory_uri() . '/js/small-menu.js', array( 'jquery' ), '20120206', true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' );