From e39a63f560b1a788286522668b9955e6acd37a17 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Fri, 9 Jul 2021 20:46:32 +0300 Subject: [PATCH] remove log --- main.js | 2 +- modules/ui/style.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 33482d49..4ecab781 100644 --- a/main.js +++ b/main.js @@ -1459,7 +1459,7 @@ function rankCells() { cells.pop[i] = s > 0 ? (s * POP_BALANCER * cells.area[i]) / areaMean : 0; cells.s[i] = s + resBonus; - debug.append('text').attr('x', cells.p[i][0]).attr('y', cells.p[i][1]).text(cells.s[i]); + // debug.append('text').attr('x', cells.p[i][0]).attr('y', cells.p[i][1]).text(cells.s[i]); } console.log(resBonuses); diff --git a/modules/ui/style.js b/modules/ui/style.js index 973344b4..38c6b637 100644 --- a/modules/ui/style.js +++ b/modules/ui/style.js @@ -1157,7 +1157,7 @@ function addStylePreset() { localStorage.setItem(preset, styleSaverJSON.value); // save preset $('#styleSaver').dialog('close'); removeStyleButton.style.display = 'inline-block'; - tip('Style preset is saved', false, 'warn', 4000); + tip('Style preset is saved', false, 'success', 4000); } function styleDownload() {