Skip to content

Commit

Permalink
Don't open feeds page in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Oct 4, 2022
1 parent e2fa90c commit bc94778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/components/episode-title/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const episodeTitle = Component(({
? '💿'
: null
}
<a class="bc-episode-title-text" href="${href}">
<a class="bc-episode-title-text" href="${href}" target="${small ? null : '_blank'}"}>
${e.display_title}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion web/components/episode/episode-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const episodeView = Component(({
? html`
<div class="bc-episode-feed-title">
📡
<a class="bc-episode-feed-title-text" href="${e.podcast_feed.default_feed ? '/feeds/' : `/feeds/?feed_id=${e.podcast_feed.id}`}" target="_blank">
<a class="bc-episode-feed-title-text" href="${e.podcast_feed.default_feed ? '/feeds/' : `/feeds/?feed_id=${e.podcast_feed.id}`}">
${e.podcast_feed.title}
</a>
</div>
Expand Down

0 comments on commit bc94778

Please sign in to comment.