Standard fixes

This commit is contained in:
knsv
2019-07-22 05:23:03 -07:00
parent 0478e4217b
commit cf686c445c
3 changed files with 2 additions and 3 deletions

View File

@@ -216,7 +216,7 @@ export const setLink = function (ids, linkStr, tooltip) {
ids.split(',').forEach(function (id) {
if (typeof vertices[id] !== 'undefined') {
if (config.securityLevel === 'strict') {
vertices[id].link = sanitizeUrl(linkStr) //.replace(/javascript:.*/g, '')
vertices[id].link = sanitizeUrl(linkStr) // .replace(/javascript:.*/g, '')
} else {
vertices[id].link = linkStr
}