From beb5a5c743bcbc769397527e20da73af8fb980be Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Mon, 14 Dec 2020 17:01:29 -0700 Subject: [PATCH] Change the debug mode trigger to a regular click --- js/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/main.js b/js/main.js index 27d0f66..10089f1 100644 --- a/js/main.js +++ b/js/main.js @@ -2421,10 +2421,10 @@ class Conductor { }); // Bind the secret debug button: the icon in the lower left - document.querySelector('#header-icon').addEventListener('auxclick', ev => { - if (ev.button === 1 && ! this.player.debug.enabled) { + document.querySelector('#header-icon').addEventListener('click', ev => { + if (! this.player.debug.enabled) { new ConfirmOverlay(this, - "Enable debug mode in the player? This will give you lots of toys to play with, " + + "Enable debug mode? This will give you lots of toys to play with, " + "but disable all saving of scores until you reload the page!", () => { this.player.setup_debug();