From f1a2985897850321e0a9acb1b74bb41e016deb5c Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 5 Jun 2025 11:42:12 +0200 Subject: Added debug mode to web build and fixed a couple of bugs --- web/http/nissyapp.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'web/http/nissyapp.mjs') diff --git a/web/http/nissyapp.mjs b/web/http/nissyapp.mjs index cdfd4d5..b056b5f 100644 --- a/web/http/nissyapp.mjs +++ b/web/http/nissyapp.mjs @@ -267,10 +267,10 @@ function startSolve(solver, scramble) { arg: { solver: solver, scramble: scramble, - minmoves: minSlider.value, - maxmoves: maxSlider.value, - maxsolutions: maxSolsInput.value, - optimal: optimalInput.value, + minmoves: Number(minSlider.value), + maxmoves: Number(maxSlider.value), + maxsolutions: Number(maxSolsInput.value), + optimal: Number(optimalInput.value), threads: window.navigator.hardwareConcurrency, } }); -- cgit v1.3