From: Steve Sutton Date: Wed, 31 Dec 2014 16:53:58 +0000 (-0500) Subject: Move the app.js to bottom X-Git-Tag: v1.0.0^2~71 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=76c09e84286fea5f4c2b1332e4a967dc86f068e0;p=WP-Themes%2Fmuerkitchens.git Move the app.js to bottom Add dep for the enqueue script to be jquery. set for output on the page bottom --- 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()) {