Skip to content

Commit 33c986f

Browse files
committed
Fix CSS variable support check (take 2)
1 parent 05aaf5e commit 33c986f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/app/app.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
matchMedia: !!window.matchMedia
246246
insertAdjacentHTML: !!document.body.insertAdjacentHTML
247247
defaultPrevented: document.createEvent('CustomEvent').defaultPrevented is false
248-
cssVariables: CSS.supports and CSS.supports('--t', '0')
248+
cssVariables: CSS.supports and CSS.supports('(--t: 0)')
249249

250250
for key, value of features when not value
251251
Raven.captureMessage "unsupported/#{key}", level: 'info'

0 commit comments

Comments
 (0)