mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Remote Post + Profile hashtag to redirect to local urls
This commit is contained in:
parent
27fbe88438
commit
1fa08644b4
2 changed files with 1388 additions and 1379 deletions
|
@ -591,6 +591,9 @@ export default {
|
|||
if(this.showReadMore == true) {
|
||||
window.pixelfed.readmore();
|
||||
}
|
||||
document.querySelectorAll('.hashtag').forEach(function(i, e) {
|
||||
i.href = App.util.format.rewriteLinks(i);
|
||||
});
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
|
@ -227,6 +227,12 @@
|
|||
this.fetchProfile();
|
||||
},
|
||||
|
||||
updated() {
|
||||
document.querySelectorAll('.hashtag').forEach(function(i, e) {
|
||||
i.href = App.util.format.rewriteLinks(i);
|
||||
});
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
fetchProfile() {
|
||||
|
|
Loading…
Reference in a new issue