Fix CSS variable support check (take 2)

pull/893/head
Thibaut Courouble 6 years ago
parent 05aaf5eedd
commit 33c986fcf0

@ -245,7 +245,7 @@
matchMedia: !!window.matchMedia
insertAdjacentHTML: !!document.body.insertAdjacentHTML
defaultPrevented: document.createEvent('CustomEvent').defaultPrevented is false
cssVariables: CSS.supports and CSS.supports('--t', '0')
cssVariables: CSS.supports and CSS.supports('(--t: 0)')
for key, value of features when not value
Raven.captureMessage "unsupported/#{key}", level: 'info'

Loading…
Cancel
Save