Skip to content

Commit

Permalink
Merge pull request #1 from prasad83/main
Browse files Browse the repository at this point in the history
Fixed fn_parseValue calling context
  • Loading branch information
PauloAK authored Apr 13, 2023
2 parents d3ef585 + 0bf2d95 commit 31b54c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/columnHeatmap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/columnHeatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -111,4 +111,4 @@
return;
}
};
}(jQuery));
}(jQuery));

0 comments on commit 31b54c8

Please sign in to comment.