diff options
-rw-r--r-- | src/usr/local/www/vendor/nvd3/nv.d3.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/vendor/nvd3/nv.d3.js b/src/usr/local/www/vendor/nvd3/nv.d3.js index 149621d..a119b8d 100644 --- a/src/usr/local/www/vendor/nvd3/nv.d3.js +++ b/src/usr/local/www/vendor/nvd3/nv.d3.js @@ -1371,6 +1371,8 @@ Also use _d3options so we can track what we inherit for documentation and chaine */ nv.utils.inheritOptionsD3 = function(target, d3_source, oplist) { target._d3options = oplist.concat(target._d3options || []); + // Find unique d3 options (string) and update d3options + target._d3options = (target._d3options || []).filter(function(item, i, ar){ return ar.indexOf(item) === i; }); oplist.unshift(d3_source); oplist.unshift(target); d3.rebind.apply(this, oplist); @@ -14349,4 +14351,4 @@ nv.models.sunburstChart = function() { }; nv.version = "1.8.3"; -})();
\ No newline at end of file +})(); |