Skip to content

Commit 0ff3a1a

Browse files
committed
[webUI] fix UncaughtReferenceError
1 parent 29cee19 commit 0ff3a1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webUI/app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,9 @@ function updateDownloadButton(st) {
276276
(document.querySelector(
277277
".devtools-toggle-mine-then-craft input[type='checkbox']",
278278
).checked &&
279-
Number(numberElement.textContent) <
279+
Number(document.querySelector(
280+
"#mineThenCraftPoints > .number",
281+
).textContent) <
280282
getSelectedTweaks()["raw"].length * 20)
281283
) {
282284
downloadButton.disabled = true;

0 commit comments

Comments
 (0)