From 503e0be0746455f3a46365633f83d8f17b70e82a Mon Sep 17 00:00:00 2001
From: Julian Lam <julian@nodebb.org>
Date: Thu, 21 Apr 2016 12:10:56 -0400
Subject: [PATCH] added cid attribute to topic page

---
 templates/topic.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/topic.tpl b/templates/topic.tpl
index b5121f4..4818bea 100644
--- a/templates/topic.tpl
+++ b/templates/topic.tpl
@@ -19,7 +19,7 @@
 
 	<hr class="visible-xs" />
 
-	<ul component="topic" class="posts" data-tid="{tid}">
+	<ul component="topic" class="posts" data-tid="{tid}" data-cid="{cid}">
 		<!-- BEGIN posts -->
 			<li component="post" class="<!-- IF posts.deleted -->deleted<!-- ENDIF posts.deleted -->" <!-- IMPORT partials/data/topic.tpl -->>
 				<a component="post/anchor" data-index="{posts.index}" name="{posts.index}"></a>