From: Kevin Ball Date: Thu, 29 Jun 2017 03:45:36 +0000 (-0700) Subject: Fix global media query reference X-Git-Tag: v6.4.1~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10292%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix global media query reference --- diff --git a/js/foundation.core.js b/js/foundation.core.js index 589f15876..bd5fe4611 100644 --- a/js/foundation.core.js +++ b/js/foundation.core.js @@ -2,6 +2,8 @@ import $ from 'jquery'; import { GetYoDigits } from './foundation.util.core'; +import { MediaQuery } from './foundation.util.mediaQuery'; + var FOUNDATION_VERSION = '6.4.0'; // Global Foundation object @@ -193,7 +195,7 @@ var Foundation = { } if(type === 'undefined'){//needs to initialize the Foundation object, or an individual plugin. - Foundation.MediaQuery._init(); + MediaQuery._init(); Foundation.reflow(this); }else if(type === 'string'){//an individual method to invoke on a plugin or group of plugins var args = Array.prototype.slice.call(arguments, 1);//collect all the arguments, if necessary