]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix global media query reference 10292/head
authorKevin Ball <kmball11@gmail.com>
Thu, 29 Jun 2017 03:45:36 +0000 (20:45 -0700)
committerKevin Ball <kmball11@gmail.com>
Thu, 29 Jun 2017 03:45:36 +0000 (20:45 -0700)
js/foundation.core.js

index 589f158765818134118f4b3f425829ba8ec7834e..bd5fe46116456ed88d07312d3371f67b4cbbb0d4 100644 (file)
@@ -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