summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-06-25 12:13:19 -0300
committerSilvio <silvio@socioambiental.org>2013-06-25 12:13:19 -0300
commit6b9a7fa66dfbc32c8781908a76c5a71be6c07eda (patch)
treebf296c75a5f26bdab60b15d668942755e3d31296
parent5111989ef3567be4a30f2db7449601c21c5d7d08 (diff)
downloadtimelinejs-6b9a7fa66dfbc32c8781908a76c5a71be6c07eda.tar.gz
timelinejs-6b9a7fa66dfbc32c8781908a76c5a71be6c07eda.tar.bz2
Fixing library_path
-rw-r--r--timelinejs.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/timelinejs.module b/timelinejs.module
index 8949b6c..9f60123 100644
--- a/timelinejs.module
+++ b/timelinejs.module
@@ -201,7 +201,7 @@ function timelinejs($nid, $width = '960px', $height = '500px') {
'height' => $height,
'source' => $base_url .'/timelinejs/json/'. (int) $nid,
'css' => $css,
- 'lang' => '/sites/all/libraries/timelinejs/compiled/js/locale/'. $language->language .'.js',
+ 'lang' => $library_path .'/compiled/js/locale/'. $language->language .'.js',
));
}