From 76c09e84286fea5f4c2b1332e4a967dc86f068e0 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 31 Dec 2014 11:53:58 -0500 Subject: [PATCH] Move the app.js to bottom Add dep for the enqueue script to be jquery. set for output on the page bottom --- functions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 432c79d..f523bd9 100755 --- a/functions.php +++ b/functions.php @@ -78,7 +78,10 @@ function preston_feather_scripts() wp_enqueue_script('jquery'); wp_enqueue_script( 'dollarsign', - get_template_directory_uri() . '/js/app.js' + get_template_directory_uri() . '/js/app.js', + 'jquery', + '1.0', + true ); if(is_front_page()) { -- 2.17.1