mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-16 20:00:57 +01:00
Small code improvements (#109)
This commit is contained in:
parent
d0fca271a1
commit
99cf8e9b2b
@ -400,7 +400,6 @@ options._setDefaultColor = function ({ target }) {
|
|||||||
document.getElementById('counter-preview-badge').style.backgroundColor = options._backgroundColor;
|
document.getElementById('counter-preview-badge').style.backgroundColor = options._backgroundColor;
|
||||||
document.getElementById('pre-badged-background-color').style.backgroundColor = options._backgroundColor;
|
document.getElementById('pre-badged-background-color').style.backgroundColor = options._backgroundColor;
|
||||||
document.getElementById('badged-background-color').value = options._backgroundColor;
|
document.getElementById('badged-background-color').value = options._backgroundColor;
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -414,8 +413,8 @@ options._onDocumentLoaded = function () {
|
|||||||
options._optionElements = options._getOptionElements();
|
options._optionElements = options._getOptionElements();
|
||||||
options._languageSupported = helpers.languageIsFullySupported(language);
|
options._languageSupported = helpers.languageIsFullySupported(language);
|
||||||
options._scriptDirection = helpers.determineScriptDirection(language);
|
options._scriptDirection = helpers.determineScriptDirection(language);
|
||||||
options._colorPicker();
|
|
||||||
|
|
||||||
|
options._colorPicker();
|
||||||
options._renderContents();
|
options._renderContents();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user