diff --git a/modules/lib/d3.combobox.js b/modules/lib/d3.combobox.js index 90865f847..2f64be1c7 100644 --- a/modules/lib/d3.combobox.js +++ b/modules/lib/d3.combobox.js @@ -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 () { diff --git a/test/index.html b/test/index.html index fb2aa929b..a2aff7c07 100644 --- a/test/index.html +++ b/test/index.html @@ -15,7 +15,6 @@ -