mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 07:43:22 +00:00
Improved theme selection. Added changeTheme method.
This commit is contained in:
@@ -492,8 +492,9 @@ class App {
|
||||
} catch (err) {}
|
||||
}
|
||||
|
||||
// Read in theme from URI params
|
||||
if (this.uriParams.theme) {
|
||||
document.querySelector(":root").className = this.uriParams.theme;
|
||||
this.manager.options.changeTheme(Utils.escapeHtml(this.uriParams.theme));
|
||||
}
|
||||
|
||||
this.autoBakePause = false;
|
||||
|
||||
Reference in New Issue
Block a user