ubc-web-services / Megatron

Drupal 7 theme for the UBC CLF
http://ubc-web-services.github.com/Megatron/
9 stars 8 forks source link

Path to libraries incorrect with subthemes #31

Closed jelo77 closed 9 years ago

jelo77 commented 9 years ago

html.tpl.php adds modernizr JS files with a call to path_to_theme. When using a subtheme this path will be wrong (pointing to the subtheme/js folder instead of megatron/js). Solution would be to use drupal_get_path or to integrate with libraries module as dependency to use maybe libraries_get_path.

occupant commented 9 years ago

Thanks for the report! Fixed,