diff --git a/resources/assets/js/components/Profile.vue b/resources/assets/js/components/Profile.vue index 53a86f37c..353302737 100644 --- a/resources/assets/js/components/Profile.vue +++ b/resources/assets/js/components/Profile.vue @@ -187,11 +187,11 @@ - -
-
-

-

No posts yet

+
+
+

+

No posts yet

+
@@ -290,10 +290,10 @@ - + - +
@@ -960,12 +960,10 @@ return o; }, - followProfile($event) { + followProfile() { if($('body').hasClass('loggedIn') == false) { return; } - $event.target.setAttribute('disabled',''); - $event.target.blur(); axios.post('/i/follow', { item: this.profileId }).then(res => { @@ -979,7 +977,6 @@ this.profile.followers_count++; } this.relationship.following = !this.relationship.following; - $event.target.removeAttribute('disabled'); }).catch(err => { if(err.response.data.message) { swal('Error', err.response.data.message, 'error');