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