Skip to content
Snippets Groups Projects
Commit c0667653 authored by Davide's avatar Davide
Browse files

edge plugin page gets redirected over result page

parent 5abea916
No related branches found
No related tags found
3 merge requests!1712Development,!1705Development,!1688Resolve "dynamic instructions for adding metager as default search engine"
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment