Fix CSS variable support check (take 2)

This commit is contained in:
Thibaut Courouble 2018-10-09 13:02:14 -04:00
parent 05aaf5eedd
commit 33c986fcf0

View file

@ -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'