1
0
mirror of synced 2025-12-19 17:48:10 -05:00

tags.html: only allow tag scores in range 1-100

This commit is contained in:
Marc Foley
2025-06-16 15:18:26 +01:00
parent 8462f38b2d
commit 9e7c4708ee

View File

@@ -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<solved.length; i++) {