summaryrefslogtreecommitdiff
path: root/timelinejs.module
diff options
context:
space:
mode:
Diffstat (limited to 'timelinejs.module')
-rw-r--r--timelinejs.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/timelinejs.module b/timelinejs.module
index 30c6e92..0fef214 100644
--- a/timelinejs.module
+++ b/timelinejs.module
@@ -55,6 +55,7 @@ function timelinejs_theme($existing, $type, $theme, $path) {
'hash_bookmark' => 'true',
'css' => NULL,
'js' => '/'. timelinejs_library_path() .'/compiled/js/timeline.js',
+ 'font' => NULL,
'lang' => NULL,
),
),
@@ -240,6 +241,7 @@ function timelinejs($nid = NULL, $width = '960px', $height = '500px') {
'css' => $css,
'js' => '/'. $library_path .'/compiled/js/timeline-min.js',
'lang' => '/'. $library_path .'/compiled/js/locale/'. $language->language .'.js',
+ 'font' => variable_get('timelinejs_font', 'Bevan-PotanoSans'),
'library_path' => $library_path,
));
}