Small code improvements (#109)

This commit is contained in:
nobody 2020-09-26 06:38:04 +02:00
parent d0fca271a1
commit 99cf8e9b2b
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 1 additions and 2 deletions

View File

@ -400,7 +400,6 @@ options._setDefaultColor = function ({ target }) {
document.getElementById('counter-preview-badge').style.backgroundColor = options._backgroundColor;
document.getElementById('pre-badged-background-color').style.backgroundColor = options._backgroundColor;
document.getElementById('badged-background-color').value = options._backgroundColor;
}
};
@ -414,8 +413,8 @@ options._onDocumentLoaded = function () {
options._optionElements = options._getOptionElements();
options._languageSupported = helpers.languageIsFullySupported(language);
options._scriptDirection = helpers.determineScriptDirection(language);
options._colorPicker();
options._colorPicker();
options._renderContents();
};