mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
deleted posts are collapsed clicking on them expands them, closes #138
This commit is contained in:
@@ -21,6 +21,13 @@
|
||||
&.deleted {
|
||||
-moz-opacity: 0.30;
|
||||
opacity: 0.30;
|
||||
height:30px;
|
||||
overflow-y:hidden;
|
||||
}
|
||||
|
||||
&.deleted-expanded {
|
||||
height:100%;
|
||||
overflow-y:default;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -209,6 +209,10 @@
|
||||
app.loadMorePosts(tid);
|
||||
}
|
||||
});
|
||||
|
||||
$('.post-container').on('click', '.deleted', function(ev) {
|
||||
$(this).toggleClass('deleted-expanded');
|
||||
});
|
||||
});
|
||||
|
||||
var reply_fn = function() {
|
||||
|
||||
Reference in New Issue
Block a user