Fixed the snackbar

This commit is contained in:
n1474335 2022-12-09 20:46:01 +00:00
parent 771a013c9f
commit ff45f61b68
5 changed files with 14 additions and 4 deletions

View file

@ -111,7 +111,7 @@ class StatusBarPanel {
*/
chrEncSelectClick(e) {
// preventDefault is required to stop the URL being modified and popState being triggered
e.preventDefault(); // TODO - this breaks the menus when you click the button itself
e.preventDefault();
const chrEncVal = parseInt(e.target.getAttribute("data-val"), 10);