Update Remote Post + Profile hashtag to redirect to local urls

pull/2809/head
Daniel Supernault 4 years ago
parent 27fbe88438
commit 1fa08644b4
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save