Fix mode buttons

This commit is contained in:
Tom MacWright
2016-08-24 09:52:43 -04:00
parent e0f3d562c7
commit e7b6b66ddc
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export function Modes(context) {
var buttons = selection.selectAll('button.add-button')
.data(modes);
buttons.enter().append('button')
buttons = buttons.enter().append('button')
.attr('tabindex', -1)
.attr('class', function(mode) { return mode.id + ' add-button col4'; })
.on('click.mode-buttons', function(mode) {