From 1b130315d2d5da3e765331029b47ed19233dccea Mon Sep 17 00:00:00 2001 From: Varakh Date: Wed, 23 May 2018 19:15:26 +0200 Subject: [PATCH] Avoid inline JS --- public/theme/material/js/custom.js | 2 ++ src/View/material/layout/footer.twig | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 public/theme/material/js/custom.js diff --git a/public/theme/material/js/custom.js b/public/theme/material/js/custom.js new file mode 100644 index 0000000..56e0471 --- /dev/null +++ b/public/theme/material/js/custom.js @@ -0,0 +1,2 @@ +$.material.init(); +$("#dropdown-menu select").dropdown(); \ No newline at end of file diff --git a/src/View/material/layout/footer.twig b/src/View/material/layout/footer.twig index e2aa3f4..adffc7d 100644 --- a/src/View/material/layout/footer.twig +++ b/src/View/material/layout/footer.twig @@ -12,11 +12,6 @@ - - \ No newline at end of file + \ No newline at end of file