summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',
));
}