Bug 871422 - Fix for missing title history tiles after a sync. r=ally

This commit is contained in:
Jim Mathies 2013-05-15 10:35:49 -07:00
parent 9c98d55814
commit 9b8243b1b9

View File

@ -46,7 +46,7 @@ HistoryView.prototype = {
for (let i = 0, addedCount = 0; i < childCount && addedCount < limit; i++) {
let node = rootNode.getChild(i);
let uri = node.uri;
let title = node.title || uri;
let title = (node.title && node.title.length) ? node.title : uri;
// If item is marked for deletion, skip it.
if (this._toRemove && this._toRemove.indexOf(uri) !== -1)