Fix the name of the compat mode on page load

This commit is contained in:
Eevee (Evelyn Woods) 2021-03-06 14:38:27 -07:00
parent 55a3daa649
commit 8533eac5db

View File

@ -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