mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
added the class for topic delete
This commit is contained in:
@@ -933,7 +933,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
|||||||
thread_state.deleted = deleted ? '1' : '0';
|
thread_state.deleted = deleted ? '1' : '0';
|
||||||
|
|
||||||
if(deleted) {
|
if(deleted) {
|
||||||
$('<div id="thread-deleted">This thread has been deleted. Only users with thread management privileges can see it.</div>').insertBefore(threadEl);
|
$('<div id="thread-deleted" class="alert alert-warning">This thread has been deleted. Only users with thread management privileges can see it.</div>').insertBefore(threadEl);
|
||||||
} else {
|
} else {
|
||||||
$('#thread-deleted').remove();
|
$('#thread-deleted').remove();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user