From ff1c302ab2bd05129d13c4a6520f670632e6fb37 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Wed, 4 Jul 2018 22:04:28 +0200 Subject: [PATCH] fix: initialize MediaQuery in global Foundation entry The MediaQuery utility is not initialized when imported via the global Foundation package. Not before a component using it is used This commit does the same as #10363 but for the global Foundation entry. See https://github.com/zurb/foundation-sites/issues/10363 --- js/entries/foundation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/entries/foundation.js b/js/entries/foundation.js index 7fbdfaf39..633c16e03 100644 --- a/js/entries/foundation.js +++ b/js/entries/foundation.js @@ -56,6 +56,7 @@ Foundation.Timer = Timer; // so no need to add it to Foundation, just init them. Touch.init($); Triggers.init($, Foundation); +MediaQuery._init(); Foundation.plugin(Abide, 'Abide'); Foundation.plugin(Accordion, 'Accordion'); -- 2.47.2