diff --git a/modules/ui/help.js b/modules/ui/help.js index 61feb834c..9690af5d0 100644 --- a/modules/ui/help.js +++ b/modules/ui/help.js @@ -129,7 +129,7 @@ export function uiHelp(context) { function clickWalkthrough() { - d3.select(document.body).call(uiIntro(context)); + context.container().call(uiIntro(context)); setVisible(false); } diff --git a/modules/ui/splash.js b/modules/ui/splash.js index 8703c15c7..e68a5f7fd 100644 --- a/modules/ui/splash.js +++ b/modules/ui/splash.js @@ -44,7 +44,7 @@ export function uiSplash(context) { .append('button') .attr('class', 'walkthrough col6') .on('click', function() { - d3.select(document.body).call(uiIntro(context)); + context.container().call(uiIntro(context)); modalSelection.close(); });