diff --git a/y_lb.module b/y_lb.module index a47a417..568edbf 100644 --- a/y_lb.module +++ b/y_lb.module @@ -202,6 +202,11 @@ function y_lb_page_attachments_alter(array &$page) { } $page['#attached']['library'][] = 'y_lb/main'; + + // Remove MatchHeight library for LB pages. + if (($key = array_search('openy_carnation/matchheight', $page['#attached']['library'])) !== FALSE) { + unset($page['#attached']['library'][$key]); + } } }