From eb40e2a9504f09f927db099c44f19644f0e176b0 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Fri, 10 Feb 2023 23:46:08 +1100 Subject: [PATCH] Fix item sort when doses have decimal places --- html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/index.html b/html/index.html index 651a287..c2a72e7 100644 --- a/html/index.html +++ b/html/index.html @@ -218,7 +218,7 @@ } } - const regexIsNumber = /^[0-9]+$/; + const regexIsNumber = /^[0-9.]+$/; function comparePBSItems(item1, item2) { // Sort RPBS, etc. benefits after other items