mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Dramatically sped up Mark All as Read by deferring to the new count progress bar.
This commit is contained in:
parent
53c9df0fef
commit
9174df9503
1 changed files with 3 additions and 1 deletions
|
@ -118,8 +118,10 @@ NEWSBLUR.ReaderMarkRead.prototype = {
|
|||
$save.attr('value', 'Marking as read...').addClass('NB-disabled').attr('disabled', true);
|
||||
if (NEWSBLUR.Globals.is_authenticated) {
|
||||
this.model.save_mark_read(days, function() {
|
||||
NEWSBLUR.reader.start_count_unreads_after_import();
|
||||
$.modal.close();
|
||||
NEWSBLUR.reader.force_feed_refresh(function() {
|
||||
$.modal.close();
|
||||
NEWSBLUR.reader.finish_count_unreads_after_import();
|
||||
});
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue