Skip to content

Commit

Permalink
Use default priority of "" rather than null.
Browse files Browse the repository at this point in the history
Maybe this'll make IE9 happy?
  • Loading branch information
mbostock committed Apr 25, 2011
1 parent b15a273 commit 420fed1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion d3.js
Expand Up @@ -1339,7 +1339,7 @@ function d3_selection(groups) {
};

groups.style = function(name, value, priority) {
if (arguments.length < 3) priority = null;
if (arguments.length < 3) priority = "";

// If no value is specified, return the first value.
if (arguments.length < 2) {
Expand Down

0 comments on commit 420fed1

Please sign in to comment.