diff --git a/docroot/themes/humsci/humsci_basic/humsci_basic.libraries.yml b/docroot/themes/humsci/humsci_basic/humsci_basic.libraries.yml index 1d6d66a9f..5b88efff1 100644 --- a/docroot/themes/humsci/humsci_basic/humsci_basic.libraries.yml +++ b/docroot/themes/humsci/humsci_basic/humsci_basic.libraries.yml @@ -24,6 +24,10 @@ secondarymenu: js: dist/js/secondarytoggler.js: {} +tablescope: + js: + dist/js/tablescope.js: {} + tablewrap: js: dist/js/tablewrap.js: {} diff --git a/docroot/themes/humsci/humsci_basic/humsci_basic.theme b/docroot/themes/humsci/humsci_basic/humsci_basic.theme index b232c0a67..782afc0c1 100644 --- a/docroot/themes/humsci/humsci_basic/humsci_basic.theme +++ b/docroot/themes/humsci/humsci_basic/humsci_basic.theme @@ -258,5 +258,6 @@ function humsci_basic_preprocess_paragraph(&$variables) { function humsci_basic_preprocess_field(&$variables) { if ($variables['field_name'] == 'field_hs_text_area') { $variables['#attached']['library'][] = 'humsci_basic/tablewrap'; + $variables['#attached']['library'][] = 'humsci_basic/tablescope'; } }