]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix parenthesis placement
authorKevin Ball <kmball11@gmail.com>
Mon, 26 Jun 2017 18:46:13 +0000 (11:46 -0700)
committerKevin Ball <kmball11@gmail.com>
Mon, 26 Jun 2017 18:46:13 +0000 (11:46 -0700)
js/foundation.util.mediaQuery.js

index fc3c178e1da07f738a0f5b0587df342f9a3e178e..e60c437897c5ae241c1c654ba21e42f1a9abb931 100644 (file)
@@ -18,7 +18,7 @@ const defaultQueries = {
 
 // matchMedia() polyfill - Test a CSS media type/query in JS.
 // Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license
-let matchMedia = (window.matchMedia || function() {
+let matchMedia = window.matchMedia || (function() {
   'use strict';
 
   // For browsers that support matchMedium api such as IE 9 and webkit