mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-01 19:09:51 +01:00
fix colour control random button disabled state
This commit is contained in:
parent
e50054bf1d
commit
6fee85ca1a
@ -201,6 +201,7 @@ export const Control_color = function({
|
||||
this.label.classList.add('disabled');
|
||||
this.color.disabled = true;
|
||||
this.text.disabled = true;
|
||||
this.random.disable();
|
||||
this.reset.disable();
|
||||
|
||||
if (extraButtons.length > 0) {
|
||||
@ -214,6 +215,7 @@ export const Control_color = function({
|
||||
this.label.classList.remove('disabled');
|
||||
this.color.disabled = false;
|
||||
this.text.disabled = false;
|
||||
this.random.enable();
|
||||
this.reset.enable();
|
||||
|
||||
if (extraButtons.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user