diff --git a/chrome/content/zotero/elements/colorPicker.js b/chrome/content/zotero/elements/colorPicker.js index 63dd809e27..b4ae9b3224 100644 --- a/chrome/content/zotero/elements/colorPicker.js +++ b/chrome/content/zotero/elements/colorPicker.js @@ -177,7 +177,7 @@ let tile = document.createElement('button'); tile.setAttribute('aria-label', colorLabels[i]); tile.classList.add('grid-tile'); - tile.style.backgroundColor = color; + tile.style.background = color; tile.addEventListener('click', () => { this.color = color;