From 486e4498eee8ed4f233fe40939da8b70c7066242 Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Sun, 10 Dec 2017 21:34:49 +0700 Subject: [PATCH] repack fix --- app/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.js b/app/main.js index b230a19..39d4317 100644 --- a/app/main.js +++ b/app/main.js @@ -293,7 +293,7 @@ function circlepack(bin, canvas) { } jQuery(document).on('click', '#repack', function() { - if (circle) { + if (iscircle) { circlerepack(canvas); } else { repack(canvas);