Skip to content

Commit

Permalink
Temporary fix for relative path to JS
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldo Tripiciano authored and Aldo Tripiciano committed Nov 22, 2018
1 parent 22b794f commit 83e027f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engine/modules/core/flickity/flickity.qtags.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ function qtag_CAROUSEL($env, $target, &$attributes) {
/** @var Page $page */
$page = $env->getData('page');
$module_path = $env->getModulePath('flickity');
$page->addJS($module_path . '/js/flickity.pkgd.min.js');
// TODO: support relative path to JS.
$page->addJS('/engine/modules/core/flickity/js/flickity.pkgd.min.js');
$page->addCSS($module_path . '/css/flickity.min.css');
$page->addCSS($module_path . '/css/flickity-quanta.css');

Expand Down

0 comments on commit 83e027f

Please sign in to comment.