fix images in manage/flags and fadeout

v1.18.x
barisusakli 10 years ago
parent 040d7b8424
commit 29fcb6c366

@ -5,6 +5,7 @@ define('admin/manage/flags', ['forum/infinitescroll', 'admin/modules/selectable'
var Flags = {};
Flags.init = function() {
$('.post-container .content img').addClass('img-responsive')
handleDismiss();
handleDelete();
handleInfiniteScroll();
@ -37,11 +38,11 @@ define('admin/manage/flags', ['forum/infinitescroll', 'admin/modules/selectable'
return app.alertError(err.messaage);
}
btn.parent().fadeOut(function() {
btn.remove();
});
$(this).remove();
if (!$('.flags [data-pid]').length) {
$('.post-container').text('No flagged posts!');
}
});
}
function handleInfiniteScroll() {

Loading…
Cancel
Save