Node.js based forum software built for the modern web
vanilla color fixes
Baris Soner Usakli2f9094956021
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.jsindex 73fa5903d6..531184fcf0 100644--- a/public/src/forum/topic.js+++ b/public/src/forum/topic.js@@ -372,8 +372,9 @@ define(['composer'], function(composer) {$('#post-container').on('click', '.chat', function(e) {var username = $(this).parents('li.row').attr('data-username');var touid = $(this).parents('li.row').attr('data-uid');-app.openChat(username, touid);+ $(this).parents('.btn-group').find('.dropdown-toggle').click();+ return false;});ajaxify.register_events([diff --git a/public/templates/favourites.tpl b/public/templates/favourites.tplindex 87f5500927..7412c907ed 100644--- a/public/templates/favourites.tpl+++ b/public/templates/favourites.tpl@@ -18,14 +18,15 @@<img title="{posts.username}" class="img-rounded user-img" src="{posts.picture}"></a>- <a href="../../topic/{posts.tid}/#{posts.pid}">+ <a href="../../user/{posts.userslug}"><strong><span>{posts.username}</span></strong>- <p>{posts.content}</p></a>+ <p>{posts.content}</p><div><span class="pull-right">- posted in+ <a href="../../topic/{posts.tid}/#{posts.pid}">posted</a>+ in<a href="../../category/{posts.categorySlug}"><i class="fa {posts.categoryIcon}"></i> {posts.categoryName}</a>diff --git a/public/templates/topic.tpl b/public/templates/topic.tplindex a09ee029e5..f6c96e0844 100644--- a/public/templates/topic.tpl+++ b/public/templates/topic.tpl@@ -60,7 +60,7 @@<ul class="dropdown-menu"><li><a href="/user/{posts.userslug}"><i class="fa fa-user"></i> [[topic:profile]]</a></li>- <li><div class="chat"><i class="fa fa-comment"></i> [[topic:chat]]</div></li>+ <li><a href="#" class="chat"><i class="fa fa-comment"></i> [[topic:chat]]</a></li></ul></div>