diff --git a/d3-wb/d3-wb-modules/d3-wb-mouse.js b/d3-wb/d3-wb-modules/d3-wb-mouse.js index 1e37f0d..feb94f2 100644 --- a/d3-wb/d3-wb-modules/d3-wb-mouse.js +++ b/d3-wb/d3-wb-modules/d3-wb-mouse.js @@ -169,7 +169,7 @@ let click = function() { // ------------------------------------ const defaultEvent = 'dblclick'; - const defaultAction = 'open'; + const defaultAction = 'openTarget'; const supportedEvents = [defaultEvent]; const supportedActions = [defaultAction]; // ------------------------------------ @@ -188,7 +188,7 @@ }; let evaluateEventOpen = function(action, event, s) { - if (action != 'open') { + if (action != 'openTarget') { return; } s.on(event, function(d, i) { diff --git a/default-content/coll_01_tech_specs/003-d3-wb-mouse/svg.js b/default-content/coll_01_tech_specs/003-d3-wb-mouse/svg.js index 5de7603..7807094 100644 --- a/default-content/coll_01_tech_specs/003-d3-wb-mouse/svg.js +++ b/default-content/coll_01_tech_specs/003-d3-wb-mouse/svg.js @@ -36,7 +36,7 @@ // appends a click-event let rectDoubleClick = d3wb.mouse.click() - .action('open') + .action('openTarget') .event('dblclick') .openTarget(function(d) { return 'https://www.google.de/search?q=' + d.value; diff --git a/default-content/d3-wb-version b/default-content/d3-wb-version index d9df1bb..af88ba8 100644 --- a/default-content/d3-wb-version +++ b/default-content/d3-wb-version @@ -1 +1 @@ -0.11.0 +0.11.1 diff --git a/package.json b/package.json index f43de9b..8f69e6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "d3-workbench", - "version": "0.11.0", + "version": "0.11.1", "description": "A d3.js-powered workbench for rapid visualization prototyping", "repository": { "type": "git",