Handling message deletion

LViS.Curate.ON_DELETE

Fires when some messages were deleted and Array of messages IDs is passed into the handler.

Example

$(curate).bind(LViS.Curate.ON_DELETE, function (e, ids) {
// do your stuff here, e.g. remove elements from DOM
});