diff options
| author | 2014-12-02 23:34:31 -0500 | |
|---|---|---|
| committer | 2014-12-02 23:34:31 -0500 | |
| commit | adaec6176ca04ee38306bd348eba9a8350f19405 (patch) | |
| tree | 1eed44fe23f582ddceb5c24f10deb45ec3a5fcda | |
| parent | 82745a509a1284a9fe6a7f8d5d153eda953d9e11 (diff) | |
Add article auto-remove after clicking on the read link
| -rw-r--r-- | p/scripts/main.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index d1d31c801..19eba206d 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -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; }); |
