forked from security_vision/semantic_graph
replaceAll was a bit too new
This commit is contained in:
parent
c76fe414c5
commit
c588c09f66
1 changed files with 2 additions and 2 deletions
4
graph.js
4
graph.js
|
@ -85,9 +85,9 @@ function splitText(text) {
|
|||
|
||||
function getTitle(obj) {
|
||||
if(obj.parent) {
|
||||
return "sub of " + obj.parent.split('#', 1)[0].replaceAll('_', ' ');
|
||||
return "sub of " + obj.parent.split('#', 1)[0].replace(/_/g, " ")
|
||||
}
|
||||
return obj['@id'].split('#', 1)[0].replaceAll('_', ' ');
|
||||
return obj['@id'].split('#', 1)[0].replace(/_/g, " ")
|
||||
}
|
||||
function getClasses(obj) {
|
||||
if (!obj._INST)
|
||||
|
|
Loading…
Reference in a new issue