Skip to content

Commit 48b73df

Browse files
authored
Merge pull request #29 from GICodeWarrior/web-fix
Fix web version
2 parents c862ef9 + e3ae35d commit 48b73df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const run = async () => {
9595
let visualizationCanvas = document.getElementById('canvasImgmatch');
9696
let list = document.getElementById("itemlist");
9797
if (itemcounter === null) {
98-
itemcounter = new ItemCounter(tmpCanvas, progressCb, "iconpacks", currentTemplate, visualizationCanvas, list);
98+
itemcounter = new ItemCounter(tmpCanvas, progressCb, window.alert, "iconpacks", currentTemplate, visualizationCanvas, list);
9999
await itemcounter.init();
100100
}
101101
itemcounter.setFilter(await getFilter());

0 commit comments

Comments
 (0)