vendor/assets/js/foundation.util.mediaQuery.js.es6 in foundation-rails-6.2.3.0 vs vendor/assets/js/foundation.util.mediaQuery.js.es6 in foundation-rails-6.2.4.0

- old
+ new

@@ -140,10 +140,10 @@ info = null; style.type = 'text/css'; style.id = 'matchmediajs-test'; - script.parentNode.insertBefore(style, script); + script && script.parentNode && script.parentNode.insertBefore(style, script); // 'style.currentStyle' is used by IE <= 8 and 'window.getComputedStyle' for all other browsers info = ('getComputedStyle' in window) && window.getComputedStyle(style, null) || style.currentStyle; styleMedia = {