Skip to content

Commit

Permalink
[BridgeCard] Use full bridge name in data-ref tag (#1560)
Browse files Browse the repository at this point in the history
Updates the data-ref tag of each bridge card to use the bridge's full name (eg. Apple Music) instead of its filename (eg. AppleMusic). This fixes issues with the search not returned some bridges.
  • Loading branch information
VerifiedJoseph authored Mar 22, 2022
1 parent 6211a2c commit d41aa84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/BridgeCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ static function displayBridgeCard($bridgeName, $formats, $isActive = true){
}

$card = <<<CARD
<section id="bridge-{$bridgeName}" data-ref="{$bridgeName}">
<section id="bridge-{$bridgeName}" data-ref="{$name}">
<h2><a href="{$uri}">{$name}</a></h2>
<p class="description">{$description}</p>
<input type="checkbox" class="showmore-box" id="showmore-{$bridgeName}" />
Expand Down

0 comments on commit d41aa84

Please sign in to comment.