From 4333754430c2b524edeaddb6bca862a674db8c36 Mon Sep 17 00:00:00 2001 From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com> Date: Thu, 7 Jul 2022 23:31:06 -0500 Subject: [PATCH] Fix suggested shift sorting --- .../Configuration/configPage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html index b8dadf7..6229216 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/configPage.html @@ -533,7 +533,7 @@ if (shifts.length === 0) { txtSuggested.textContent += "none available"; } else { - shifts.sort(); + shifts.sort((a, b) => { return a - b }); txtSuggested.textContent += shifts.join(", "); } }