1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #3031 from samuelroland/remote-redirect-remove

Remove remoteRedirect() for profile website fix #2996
This commit is contained in:
daniel 2021-12-03 18:24:59 -07:00 committed by GitHub
commit 89d62176cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@
<span v-if="profile.pronouns" class="text-muted small">{{profile.pronouns.join('/')}}</span> <span v-if="profile.pronouns" class="text-muted small">{{profile.pronouns.join('/')}}</span>
</p> </p>
<p v-if="profile.note" class="mb-0" v-html="profile.note"></p> <p v-if="profile.note" class="mb-0" v-html="profile.note"></p>
<p v-if="profile.website"><a :href="profile.website" class="profile-website small" rel="me external nofollow noopener" target="_blank" @click.prevent="remoteRedirect(profile.website)">{{formatWebsite(profile.website)}}</a></p> <p v-if="profile.website"><a :href="profile.website" class="profile-website small" rel="me external nofollow noopener" target="_blank">{{formatWebsite(profile.website)}}</a></p>
<p class="d-flex small text-muted align-items-center"> <p class="d-flex small text-muted align-items-center">
<span v-if="profile.is_admin" class="btn btn-outline-danger btn-sm py-0 mr-3" title="Admin Account" data-toggle="tooltip"> <span v-if="profile.is_admin" class="btn btn-outline-danger btn-sm py-0 mr-3" title="Admin Account" data-toggle="tooltip">
Admin Admin