summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2016-05-17 12:32:50 -0300
committerSilvio <silvio@socioambiental.org>2016-05-17 12:32:50 -0300
commit8b7ecf0b858504c2c2fef0e4d52810561085e32a (patch)
tree012e0b6690c511980242968f53066bb1e10cc06e
parentb1b463765403f01180276817d102719e02990769 (diff)
downloadtimelinejs-8b7ecf0b858504c2c2fef0e4d52810561085e32a.tar.gz
timelinejs-8b7ecf0b858504c2c2fef0e4d52810561085e32a.tar.bz2
Use storyjs-embed from CDN
-rw-r--r--timelinejs.tpl.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/timelinejs.tpl.php b/timelinejs.tpl.php
index de38569..3a15e67 100644
--- a/timelinejs.tpl.php
+++ b/timelinejs.tpl.php
@@ -25,5 +25,8 @@
MakeMenuLinksOpenInNewWindow();
}
</script>
-<script type="text/javascript" src="/<?php print $library_path; ?>/compiled/js/storyjs-embed.js"></script>
+
+<script type="text/javascript" src="https://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js"></script>
+<!-- Use timelinejs from CDN until we fix it's direct inclusion -->
+<!--<script type="text/javascript" src="/<?php print $library_path; ?>/compiled/js/storyjs-embed.js"></script>-->
<!-- END Timeline Embed -->