Use span for button labels, so pointer events go to the button

This commit is contained in:
Bryan Housel
2017-03-31 14:42:40 -04:00
parent 5f44c9a00a
commit 140e457dee

View File

@@ -130,7 +130,7 @@ export function uiIntro(context) {
.on('click', enterChapter);
buttons
.append('label')
.append('span')
.text(function(d) { return t(d.title); });
buttons