Explorar o código

Move .stop to correct file

sbkwgh %!s(int64=8) %!d(string=hai) anos
pai
achega
434c14575e

+ 1 - 1
src/components/PostReply.vue

@@ -10,7 +10,7 @@
 		<div
 			slot='display'
 			class='post_reply__display'
-			@click='$emit("click")'
+			@click.stop='$emit("click")'
 		>
 			<div
 				class='post_reply__letter'

+ 1 - 1
src/components/ReplyingTo.vue

@@ -11,7 +11,7 @@
 		<div
 			slot='display'
 			class='replying_to__display'
-			@click='$emit("click")'
+			@click.stop='$emit("click")'
 		>
 			<span class='fa fa-reply replying_to__icon'></span>
 			{{username || '[deleted]'}}

+ 2 - 2
src/components/ThreadPost.vue

@@ -38,7 +38,7 @@
 				v-if='post.replyingToUsername'
 				:replyId='post.replyId'
 				:username='post.replyingToUsername'
-				@click.stop='$emit("goToPost", post.replyId, true)'
+				@click='$emit("goToPost", post.replyId, true)'
 			></replying-to>
 			<div class='post__date'>{{post.createdAt | formatDate('time|date', ', ')}}</div>
 		</div>
@@ -58,7 +58,7 @@
 						:post='reply'
 						:hover='hover'
 						:first='index === 0'
-						@click.stop='$emit("goToPost", reply.postNumber)'
+						@click='$emit("goToPost", reply.postNumber)'
 					></post-reply>
 				</div>