mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 09:25:45 +01:00
removed anchor around recent posts on account page
This commit is contained in:
@@ -225,6 +225,10 @@ footer.footer {
|
||||
div {
|
||||
color: #333;
|
||||
margin-bottom: 10px;
|
||||
cursor: pointer;
|
||||
p {
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
span {
|
||||
padding-top: 10px;
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.user-recent-posts .topic-row').on('click', function() {
|
||||
ajaxify.go($(this).attr('topic-url'));
|
||||
})
|
||||
|
||||
});
|
||||
|
||||
}());
|
||||
@@ -81,13 +81,10 @@
|
||||
<div class="span6 user-recent-posts">
|
||||
<h4>recent posts </h4>
|
||||
<!-- BEGIN posts -->
|
||||
<a href="/topic/{posts.tid}/{posts.pid}">
|
||||
<div class="topic-row img-polaroid clearfix">
|
||||
<span>{posts.content}</span>
|
||||
<span class="pull-right">{posts.relativeTime} ago</span>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div class="topic-row img-polaroid clearfix" topic-url="topic/{posts.tid}/{posts.pid}">
|
||||
<span>{posts.content}</span>
|
||||
<span class="pull-right">{posts.relativeTime} ago</span>
|
||||
</div>
|
||||
<!-- END posts -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user