diff --git a/src/columnHeatmap.js b/src/columnHeatmap.js index 9faf9a4..9540c58 100644 --- a/src/columnHeatmap.js +++ b/src/columnHeatmap.js @@ -47,7 +47,7 @@ if (typeof settings.fn_parseValue == "function") { - let value = fn_parseValue($(td).text()); + let value = settings.fn_parseValue($(td).text()); if (typeof value == "undefined") { throw 'None value returned in fn_parseValue'; } else { @@ -111,4 +111,4 @@ return; } }; -}(jQuery)); \ No newline at end of file +}(jQuery));