From c0667653d9c9c1e9927df1946a56350caf8ff7d8 Mon Sep 17 00:00:00 2001 From: Davide <davide@suma-ev.de> Date: Fri, 9 Oct 2020 12:14:38 +0200 Subject: [PATCH] edge plugin page gets redirected over result page --- resources/views/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 763c4b6e8..99e99d589 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -13,7 +13,7 @@ <input type="hidden" name="key" value="{{ Request::input('key','') }}" form="searchForm"> @endif <div id="plugin-btn-div"> - @if($agent->isMobile() && $agent->browser() === "Chrome") + @if($agent->isMobile() && ($agent->browser() === "Chrome" || $agent->browser() === "Edge")) <button type="submit" id="plugin-btn" form="searchForm" title="{{ trans('index.plugin-title') }}" name="chrome-plugin" value="true"><i class="fa fa-plug" aria-hidden="true"></i> {{ trans('index.plugin') }}</a> @else <a id="plugin-btn" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/plugin") }}" title="{{ trans('index.plugin-title') }}"><i class="fa fa-plug" aria-hidden="true"></i> {{ trans('index.plugin') }}</a> -- GitLab