From 8390d3e59b9b568543dcecffdab031833465bd65 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Wed, 10 May 2017 19:08:33 +0100 Subject: [PATCH] Fix reference to window object in choropleth code --- src/js/datamaps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/datamaps.js b/src/js/datamaps.js index 121e2711..c2f58e64 100644 --- a/src/js/datamaps.js +++ b/src/js/datamaps.js @@ -789,7 +789,7 @@ } data = tmpData; } - Datamaps.prototype.updateChoropleth.call(self, data); + Datamap.prototype.updateChoropleth.call(self, data); }); } drawSubunits.call(self, data);