Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mecmartini/6908e51e5189bd18455028acfb107f15 to your computer and use it in GitHub Desktop.
Save mecmartini/6908e51e5189bd18455028acfb107f15 to your computer and use it in GitHub Desktop.
Drupal contrib module Languages Dropdown - Remove Css Dependency
diff --git a/languages_dropdown.module b/languages_dropdown.module
index 1df935d..b31d212 100644
--- a/languages_dropdown.module
+++ b/languages_dropdown.module
@@ -71,10 +71,6 @@ function languages_dropdown_page_attachments(&$attachments) {
$attachments['#attached']['library'][] =
'languages_dropdown/dependency-js';
}
- else {
- $attachments['#attached']['library'][] =
- 'languages_dropdown/dependency-css';
- }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment