From 8352a744ab558bfd72b4155faef3ce2cad8089ca Mon Sep 17 00:00:00 2001 From: Aleksandr Telegin <99ff00@gmail.com> Date: Mon, 30 Sep 2019 13:49:49 +0100 Subject: [PATCH] Fix missing attr error --- src/charty.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/charty.js b/src/charty.js index 4455836..13086a3 100644 --- a/src/charty.js +++ b/src/charty.js @@ -1330,6 +1330,9 @@ var Charty = (function () { } function updateCheckbox(i, off, series_) { + if (!V.showButtons) + return + var to = off ? 0 : 1, buttonColor = (currentTheme.buttons || {}).color || '#fff', series = series_ || AY