]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Enable the script to load in DoneJS SSR 8903/head 8904/head
authorMarshall Thompson <marshall@creativeideal.net>
Mon, 6 Jun 2016 15:53:48 +0000 (09:53 -0600)
committerMarshall Thompson <marshall@creativeideal.net>
Mon, 6 Jun 2016 15:53:48 +0000 (09:53 -0600)
commitf16f071e5a8972de8200f29333d875940c4a3a03
tree9074c4ad8cd201b17ec19a8090c7ad9f446c136e
parentc9562f55d108dc4a135cbfcdd59ccb7afb8aa4f7
Enable the script to load in DoneJS SSR

Adding this check for `script && script.parentNode` allows foundation-sites to work with DoneJS's Server Side Rendering.
js/foundation.util.mediaQuery.js