From 86cc7534c23fa88bc18d618d107dc4001f7705ae Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 12 Mar 2018 09:59:37 +0000 Subject: [PATCH] fix html error in link, but replaced target _blank to a named window to keep the experience --- app/Item.php | 2 +- resources/views/item.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Item.php b/app/Item.php index 288f9b53..af1022be 100644 --- a/app/Item.php +++ b/app/Item.php @@ -153,7 +153,7 @@ class Item extends Model if((int)$this->type === 1) { return ''; } else { - return ' target="_blank"'; + return ' target="heimdallapp"'; } } diff --git a/resources/views/item.blade.php b/resources/views/item.blade.php index 9729efe3..333bdaa1 100644 --- a/resources/views/item.blade.php +++ b/resources/views/item.blade.php @@ -11,7 +11,7 @@
@endif - link_target }} href="{{ $app->link }}"> + link_target !!} href="{{ $app->link }}">