mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Dark theme tweaks and improvements
This commit is contained in:
parent
0dc72d8301
commit
280f1ee2df
9 changed files with 44 additions and 47 deletions
|
@ -137,7 +137,7 @@ OptionsWaiter.prototype.setWordWrap = function() {
|
|||
* Changes the theme by setting the class of the <html> element.
|
||||
*/
|
||||
OptionsWaiter.prototype.themeChange = function (e) {
|
||||
var themeClass = e.target.value;
|
||||
const themeClass = e.target.value;
|
||||
|
||||
document.querySelector(":root").className = themeClass;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue