@@ -860,6 +860,18 @@ export default {
}
this.loaded = true;
this.fetchProfilePosts();
+ setTimeout(function() {
+ document.querySelectorAll('.status-comment .comment-text a').forEach(function(i, e) {
+ if(i.href.startsWith(window.location.origin)) {
+ return;
+ }
+ let tag = i.innerText;
+ if(tag.startsWith('#')) {
+ tag = tag.substr(1);
+ i.href = '/discover/tags/'+tag+'?src=rph';
+ });
+ }, 500);
}).catch(error => {
swal('Oops!', 'An error occured, please try refreshing the page.', 'error');
});
@@ -815,6 +815,18 @@
// this.fetchStories();
this.rtw();
+ document.querySelectorAll('.caption .status-content a').forEach(function(i, e) {
}).catch(err => {
swal(
'Oops, something went wrong',