mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
fix: correctly display links to self instance URL
Closes #9270 Co-authored-by: GitHub <futchitwo>
This commit is contained in:
parent
3a6df9e707
commit
af15d08bd6
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
:is="self ? 'MkA' : 'a'"
|
||||
ref="el"
|
||||
class="ieqqeuvs _link"
|
||||
:[attr]="self ? url.substr(local.length) : url"
|
||||
:[attr]="self ? props.url.substring(local.length) : props.url"
|
||||
:rel="rel"
|
||||
:target="target"
|
||||
@contextmenu.stop="() => {}"
|
||||
|
@ -18,7 +18,7 @@
|
|||
<span class="self">{{ hostname }}</span>
|
||||
</template>
|
||||
<span v-if="pathname != ''" class="pathname">{{
|
||||
self ? pathname.substr(1) : pathname
|
||||
self ? pathname.substring(1) : pathname
|
||||
}}</span>
|
||||
<span class="query">{{ query }}</span>
|
||||
<span class="hash">{{ hash }}</span>
|
||||
|
|
Loading…
Reference in a new issue