Merge pull request #1041 from linuxserver/bug/links_opening_in_new_tab_keep_focus

Blur tiles after clicking on them
This commit is contained in:
KodeStar 2022-11-26 17:02:45 +00:00 committed by GitHub
commit 877b31f947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
<div data-id="{{ $app->id }}" data-dataonly="{{ $app->getconfig()->dataonly ?? '0' }}" class="livestats-container{{ title_color($app->colour) }}"></div>
@endif
</div>
<a rel="noopener noreferrer" class="link{{ title_color($app->colour) }}"{!! $app->link_target !!} href="{{ $app->link }}"><i class="fas {{ $app->link_icon }}"></i></a>
<a rel="noopener noreferrer" onclick="this.blur();" class="link{{ title_color($app->colour) }}"{!! $app->link_target !!} href="{{ $app->link }}"><i class="fas {{ $app->link_icon }}"></i></a>
<?php /*
@if($app->enhanced() === true && (bool)$app->getConfig()->enabled === true)
<div class="tile-actions refresh">