Skip to content

Commit 877b31f

Browse files
authored
Merge pull request #1041 from linuxserver/bug/links_opening_in_new_tab_keep_focus
Blur tiles after clicking on them
2 parents a12c1d5 + 827088d commit 877b31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/item.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div data-id="{{ $app->id }}" data-dataonly="{{ $app->getconfig()->dataonly ?? '0' }}" class="livestats-container{{ title_color($app->colour) }}"></div>
1414
@endif
1515
</div>
16-
<a rel="noopener noreferrer" class="link{{ title_color($app->colour) }}"{!! $app->link_target !!} href="{{ $app->link }}"><i class="fas {{ $app->link_icon }}"></i></a>
16+
<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>
1717
<?php /*
1818
@if($app->enhanced() === true && (bool)$app->getConfig()->enabled === true)
1919
<div class="tile-actions refresh">

0 commit comments

Comments
 (0)