Fix the name of the compat mode on page load

This commit is contained in:
Eevee (Evelyn Woods) committed 2021-03-06 14:38:27 -07:00
1 parent 55a3daa649
commit 8533eac5db
1 file changed
+1 -1
+1 -1
View File
@@ -3592,7 +3592,7 @@ class Conductor {
document.querySelector('#main-compat').addEventListener('click', ev => {
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
// and level