summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/views/page/components/tile.handle.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/frontend/views/page/components/tile.handle.js b/frontend/views/page/components/tile.handle.js
index 33243a7..9212dbb 100644
--- a/frontend/views/page/components/tile.handle.js
+++ b/frontend/views/page/components/tile.handle.js
@@ -70,15 +70,13 @@ const TileHandle = ({ tile, bounds, box, viewing, onMouseDown, onDoubleClick })
if (viewing && tile.href) {
if (tile.href.indexOf('http') === 0) {
return (
- <a href={tile.href} rel='noopener'>
- <div
- className={className}
- onMouseDown={onMouseDown}
- style={style}
- >
- {content}
- </div>
- </a>
+ <div
+ className={className}
+ style={style}
+ onClick={() => window.open(tile.href, '_blank')}
+ >
+ {content}
+ </div>
)
} else {
return (