diff --git a/src/getattributes.js b/src/getattributes.js index b2ca0cb54..43b61a819 100644 --- a/src/getattributes.js +++ b/src/getattributes.js @@ -27,12 +27,8 @@ function parseUrl(urlattr, feature, attribute, attributes, map, linktext) { } else if (attribute.target === 'modal-full') { aTarget = 'modal-full'; aCls = 'o-identify-link-modal'; - } else if (attribute.target === '_self') { - aTarget = '_self'; - } else if (attribute.target === '_top') { - aTarget = '_top'; - } else if (attribute.target === '_parent') { - aTarget = '_parent'; + } else { + aTarget = attribute.target ? attribute.target : '_blank'; } val = `${text}`; return val;