Fixes #53: 4th option for the background fixed

This commit is contained in:
agriyadev5
2021-01-07 19:42:24 +05:30
parent 6262a635c7
commit 27f9052321

View File

@@ -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);