Add article auto-remove after clicking on the read link

This commit is contained in:
Alexis Degrugillier committed 2014-12-02 23:34:31 -05:00
1 parent 82745a509a
commit adaec6176c
1 file changed
+3
+3
View File
@@ -690,6 +690,9 @@ function init_stream(divStream) {
divStream.on('click', '.flux a.read', function () {
var active = $(this).parents(".flux");
mark_read(active, false);
if (context['auto_remove_article']) {
active.remove();
}
return false;
});