Yes, so it turns out that making a small asthetic change after testing on every browser does actually break it :|
This commit is contained in:
parent
fabdbc3b61
commit
cb8888ea1a
@ -843,8 +843,8 @@ define([
|
||||
el.style.setProperty('background', 'var(--color)');
|
||||
document.body.appendChild(el);
|
||||
var styles = getComputedStyle(el);
|
||||
document.body.removeChild(el);
|
||||
var doesSupport = (styles.backgroundColor === color);
|
||||
document.body.removeChild(el);
|
||||
return doesSupport;
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user