We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6a1d36 commit 16df64eCopy full SHA for 16df64e
tensorboard/plugins/graph/tf_graph_common/contextmenu.ts
@@ -87,7 +87,7 @@ export function getMenu(sceneElement: TfGraphScene, menu: ContextMenuItem[]) {
87
capture: true,
88
});
89
// Add provided items to the context menu.
90
- menuSelection.html('');
+ menuSelection.text('');
91
let list = menuSelection.append('ul');
92
list
93
.selectAll('li')
@@ -98,7 +98,7 @@ export function getMenu(sceneElement: TfGraphScene, menu: ContextMenuItem[]) {
98
d.action(this, data, index);
99
maybeCloseMenu();
100
})
101
- .html(function (d) {
+ .text(function (d) {
102
return d.title(data);
103
104
};
0 commit comments