Fixes #53: 4th option for the background fixed
This commit is contained in:
@@ -512,7 +512,7 @@ export class SeEditPrefsDialog extends HTMLElement {
|
|||||||
if (e === 'chessboard') {
|
if (e === 'chessboard') {
|
||||||
newdiv.dataset.bgColor = e;
|
newdiv.dataset.bgColor = e;
|
||||||
// eslint-disable-next-line max-len
|
// eslint-disable-next-line max-len
|
||||||
newdiv.style.backgroundImage = 'url(data:image/gif;base64,R0lGODlhEAAQAIAAAP///9bW1iH5BAAAAAAALAAAAAAQABAAAAIfjGgq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7)';
|
newdiv.style.backgroundImage = 'url(data:image/gif;base64,R0lGODlhEAAQAIAAAP///9bW1iH5BAAAAAAALAAAAAAQABAAAAIfjG+gq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7)';
|
||||||
newdiv.classList.add('color_block');
|
newdiv.classList.add('color_block');
|
||||||
} else {
|
} else {
|
||||||
newdiv.dataset.bgColor = e; // setAttribute('data-bgcolor', e);
|
newdiv.dataset.bgColor = e; // setAttribute('data-bgcolor', e);
|
||||||
|
|||||||
Reference in New Issue
Block a user