Skip to content

Commit

Permalink
fix(col): fix CSS is undefined error on IE11 (#15882)
Browse files Browse the repository at this point in the history
* fix(col): fix CSS is undefined error on IE11

* Update col.tsx
  • Loading branch information
apiaget authored and manucorporat committed Oct 8, 2018
1 parent 870a92f commit 06a3028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/col/col.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, ComponentInterface, Element, Listen, Prop } from '@stencil/c

import { matchBreakpoint } from '../../utils/media';

const SUPPORTS_VARS = !!(CSS && CSS.supports && CSS.supports('--a: 0'));
const SUPPORTS_VARS = !!(window.CSS && window.CSS.supports && window.CSS.supports('--a: 0'));
const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];

@Component({
Expand Down

0 comments on commit 06a3028

Please sign in to comment.