From 6fd790570a742adcc0b5183083007e41ea4fc545 Mon Sep 17 00:00:00 2001 From: abzicht Date: Sat, 9 Mar 2019 23:14:28 +0100 Subject: [PATCH] Removed tag, moved id attribute to text section --- src/diagrams/gantt/ganttRenderer.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/diagrams/gantt/ganttRenderer.js b/src/diagrams/gantt/ganttRenderer.js index 51aa7ef46..c3b816e92 100644 --- a/src/diagrams/gantt/ganttRenderer.js +++ b/src/diagrams/gantt/ganttRenderer.js @@ -177,12 +177,9 @@ export const draw = function (text, id) { return res + classStr + ' task' + secNum }) - rectangles.append('a').attr('href', function (d) { - /* All rectangles are clickable. If d.link is not specified, '' is returned */ - return d.link - }) - .attr('id', function (d) { return d.id + '-text' }) + rectangles .append('text') + .attr('id', function (d) { return d.id + '-text' }) .text(function (d) { return d.task })