summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2012-08-08 15:16:37 -0300
committerSilvio <silvio@socioambiental.org>2012-08-08 15:16:37 -0300
commit5e5f825b92183d4f2c869a7f88a301d5890630f5 (patch)
tree23257fe4333a0ec147fd33c92edf2bec896a0db5
parentbdd0ac0035176a38edfef3abb2a5716fb4022f9b (diff)
downloadtimelinejs-5e5f825b92183d4f2c869a7f88a301d5890630f5.tar.gz
timelinejs-5e5f825b92183d4f2c869a7f88a301d5890630f5.tar.bz2
Timeline weight
-rw-r--r--timelinejs.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/timelinejs.module b/timelinejs.module
index d7ebb45..731d459 100644
--- a/timelinejs.module
+++ b/timelinejs.module
@@ -11,6 +11,7 @@
function timelinejs_node_view($node, $view_mode, $langcode) {
if ($node->type == 'timeline' && $view_mode == 'full') {
$node->content['timeline']['#markup'] = timelinejs($node->nid);
+ $node->content['timeline']['#weight'] = -1;
}
}