From: Marc Foley Date: Mon, 16 Jun 2025 14:18:26 +0000 (+0100) Subject: tags.html: only allow tag scores in range 1-100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9573%2Fhead;p=thirdparty%2Fgoogle%2Ffonts.git tags.html: only allow tag scores in range 1-100 --- diff --git a/.ci/tags.html b/.ci/tags.html index a6aa06f81..e26ce9370 100644 --- a/.ci/tags.html +++ b/.ci/tags.html @@ -630,6 +630,10 @@ function axesCombos(axes) { AddFamily() { this.isEdited = true; const fonts = document.getElementById("fonts") + if (this.variableTag === false && ((this.newWeight) < 1 || Number(this.newWeight) > 100)) { + alert("Please enter a valid weight (1-100)"); + return; + } if (this.newAxes.length > 0) { const solved = axesCombos(this.newAxes); for(let i=0; i