mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 10:52:45 +08:00
FIX: Open Powered-by link in new tab (#26953)
Opening the Discourse Powered-by link in a new tab doesn't take away from focus in the forum, avoids back button issues.
This commit is contained in:
parent
9747037554
commit
ce798ac2af
|
@ -2,7 +2,12 @@ import icon from "discourse-common/helpers/d-icon";
|
|||
import i18n from "discourse-common/helpers/i18n";
|
||||
|
||||
const PoweredByDiscourse = <template>
|
||||
<a class="powered-by-discourse" href="https://discourse.org/powered-by">
|
||||
{{! template-lint-disable link-rel-noopener }}
|
||||
<a
|
||||
class="powered-by-discourse"
|
||||
href="https://discourse.org/powered-by"
|
||||
target="_blank"
|
||||
>
|
||||
<span class="powered-by-discourse__content">
|
||||
<span class="powered-by-discourse__logo">
|
||||
{{icon "fab-discourse"}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user