diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-06-05 11:42:12 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-06-05 11:42:12 +0200 |
| commit | f1a2985897850321e0a9acb1b74bb41e016deb5c (patch) | |
| tree | bc0585a7bb629549bc3f7914027d62bb21bde30c /web/http/nissyapp.mjs | |
| parent | 52c74a1c33ce12b93ec5830f5a6348d9578c7c6e (diff) | |
| download | nissy-core-f1a2985897850321e0a9acb1b74bb41e016deb5c.tar.gz nissy-core-f1a2985897850321e0a9acb1b74bb41e016deb5c.zip | |
Added debug mode to web build and fixed a couple of bugs
Diffstat (limited to 'web/http/nissyapp.mjs')
| -rw-r--r-- | web/http/nissyapp.mjs | 8 |
1 files changed, 4 insertions, 4 deletions
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) { | |||
| 267 | arg: { | 267 | arg: { |
| 268 | solver: solver, | 268 | solver: solver, |
| 269 | scramble: scramble, | 269 | scramble: scramble, |
| 270 | minmoves: minSlider.value, | 270 | minmoves: Number(minSlider.value), |
| 271 | maxmoves: maxSlider.value, | 271 | maxmoves: Number(maxSlider.value), |
| 272 | maxsolutions: maxSolsInput.value, | 272 | maxsolutions: Number(maxSolsInput.value), |
| 273 | optimal: optimalInput.value, | 273 | optimal: Number(optimalInput.value), |
| 274 | threads: window.navigator.hardwareConcurrency, | 274 | threads: window.navigator.hardwareConcurrency, |
| 275 | } | 275 | } |
| 276 | }); | 276 | }); |
