Fix CSS variable support check

This commit is contained in:
Jasper van Merle 2018-10-09 18:25:22 +02:00 committed by Thibaut Courouble
parent 6d5a278941
commit 05aaf5eedd

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'