From 04ceb22792a7d2f4869610a01cfcd3a3a075e013 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Mon, 16 Oct 2023 22:02:52 +0100 Subject: [PATCH] Show version on updates page [skip ci] --- docs/updates.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/updates.html b/docs/updates.html index 55082de..112f1f0 100644 --- a/docs/updates.html +++ b/docs/updates.html @@ -114,15 +114,16 @@ if (!(date in movesbydate)) { movesbydate[date] = [] } - movesbydate[date].push([name, server]) + var version = move["version"].replace(/;.*/, "").replace("Version", "version"); + movesbydate[date].push([name, version, server]) } } } for (var date of Object.keys(movesbydate).sort().reverse()) { $("#main").append("
" + date + "
") ul = $("