Browse Source

Update Remote Post + Profile hashtag to redirect to local urls

Daniel Supernault 4 years ago
parent
commit
1fa08644b4

File diff suppressed because it is too large
+ 510 - 510
resources/assets/js/components/RemotePost.vue


+ 6 - 0
resources/assets/js/components/RemoteProfile.vue

@@ -227,6 +227,12 @@
 			this.fetchProfile();
 			this.fetchProfile();
 		},
 		},
 
 
+		updated() {
+			document.querySelectorAll('.hashtag').forEach(function(i, e) {
+			    i.href = App.util.format.rewriteLinks(i);
+			});
+		},
+
 		methods: {
 		methods: {
 
 
 			fetchProfile() {
 			fetchProfile() {

Some files were not shown because too many files changed in this diff