mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 07:25:15 +02:00
Fix mode buttons
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user