lowercase the results to get the appropriate background color
This commit is contained in:
parent
39495a7ec5
commit
4635f40651
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class Page_Results extends Page {
|
||||||
: false;
|
: false;
|
||||||
|
|
||||||
// Set the color.
|
// Set the color.
|
||||||
(nested.dictionary.get(this[`data`][`analysis`], [`Rating`, `Trust`]) && document.querySelector(`summary`)) ? document.querySelector(`summary`).setAttribute(`result`, (nested.dictionary.get(this[`data`][`analysis`], [`Rating`, `Trust`]))) : false;
|
(nested.dictionary.get(this[`data`][`analysis`], [`Rating`, `Trust`]) && document.querySelector(`summary`)) ? document.querySelector(`summary`).setAttribute(`result`, (nested.dictionary.get(this[`data`][`analysis`], [`Rating`, `Trust`])).toLowerCase()) : false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue