Fix d3 reference

This commit is contained in:
Tom MacWright
2016-09-05 11:07:33 -04:00
parent ed135ce9ef
commit 97ac0c06f1
4 changed files with 42 additions and 22 deletions
+3 -2
View File
@@ -40,8 +40,9 @@ export function d3combobox() {
.filter(function(d) { return d === input.node(); })
.data([input.node()]);
caret.enter().insert('div', function() { return sibling; })
.attr('class', 'combobox-caret');
caret = caret.enter().insert('div', function() { return sibling; })
.attr('class', 'combobox-caret')
.merge(caret);
caret
.on('mousedown', function () {