From c2f2d222ebeee0862bdeb54e49b86c3c5cd14ee3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 11 Jul 2020 17:32:46 +0200 Subject: handling links... in the handle... literally --- frontend/views/page/components/tile.handle.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'frontend/views/page/components') 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 ( - -
- {content} -
-
+
window.open(tile.href, '_blank')} + > + {content} +
) } else { return ( -- cgit v1.2.3-70-g09d2