summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--STARTERKIT/js/README.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/STARTERKIT/js/README.txt b/STARTERKIT/js/README.txt
index b767eca..da94e90 100644
--- a/STARTERKIT/js/README.txt
+++ b/STARTERKIT/js/README.txt
@@ -8,7 +8,7 @@ Your theme can add JavaScript files in two ways:
2. To add a JavaScript file depending on a certain condition, you can add it
using some PHP code in a preprocess function:
- drupal_add_js('js/my-jquery-script.js', array('group' => JS_THEME));
+ drupal_add_js(drupal_get_path('theme', 'THEME_NAME') . '/js/my-jquery-script.js', array('group' => JS_THEME));
For the full documentation of drupal_add_js(), see:
http://api.drupal.org/api/function/drupal_add_js