зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1433492 - Fix a missed callback to .then conversion causing RSS feeds to not show their read/unread status properly after a restart. r=mak
MozReview-Commit-ID: 3iG8JbyGJul --HG-- extra : rebase_source : 2240904ed63bed5db93354bcc9dd255b0c2fc40c
This commit is contained in:
Родитель
71c85d4c22
Коммит
a73a6015a8
|
@ -601,9 +601,9 @@ Livemark.prototype = {
|
|||
|
||||
// Update visited status for each entry.
|
||||
for (let child of this._children) {
|
||||
history.hasVisits(child.uri, isVisited => {
|
||||
history.hasVisits(child.uri).then(isVisited => {
|
||||
this.updateURIVisitedStatus(child.uri, isVisited);
|
||||
});
|
||||
}).catch(Cu.reportError);
|
||||
}
|
||||
|
||||
return this._children;
|
||||
|
|
Загрузка…
Ссылка в новой задаче