Fix the name of the compat mode on page load
This commit is contained in:
parent
55a3daa649
commit
8533eac5db
@ -3592,7 +3592,7 @@ class Conductor {
|
|||||||
document.querySelector('#main-compat').addEventListener('click', ev => {
|
document.querySelector('#main-compat').addEventListener('click', ev => {
|
||||||
new CompatOverlay(this).open();
|
new CompatOverlay(this).open();
|
||||||
});
|
});
|
||||||
document.querySelector('#main-compat output').textContent = this._compat_ruleset ?? 'Custom';
|
document.querySelector('#main-compat output').textContent = COMPAT_RULESET_LABELS[this._compat_ruleset ?? 'custom'];
|
||||||
|
|
||||||
// Bind to the navigation headers, which list the current level pack
|
// Bind to the navigation headers, which list the current level pack
|
||||||
// and level
|
// and level
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user