viewer.js
// updates a feed item's unread count
updates a feed item's unread count
updates a feed item ' s unread count
function UpdateFeedUnread(id)
{    
    if(bgPage.unreadInfo[id] == null || !options.unreaditemtotaldisplay)
    {
        return;
    }
    var count = bgPage.unreadInfo[id].unreadtotal;
    if(count > 0)
    {
        document.getElementById("feedTitle" + id).style.fontWeight = "bold";
        document.getElementById("feedUnread" + id).innerText = " (" + count + ")";       
    }
    else
    {
        document.getElementById("feedTitle" + id).style.fontWeight = "normal";
        document.getElementById("feedUnread" + id).innerText = "";         
    }     
    FixFeedList(); 
}
function UpdateFeedUnread ( id ) { if ( bgPage . unreadInfo [ id ] == null || ! options . unreaditemtotaldisplay ) { return ; } var count = bgPage . unreadInfo [ id ] . unreadtotal ; if ( count > 0 ) { document . getElementById ( "feedTitle" + id ) . style . fontWeight = "bold" ; document . getElementById ( "feedUnread" + id ) . innerText = " (" + count + ")" ; } else { document . getElementById ( "feedTitle" + id ) . style . fontWeight = "normal" ; document . getElementById ( "feedUnread" + id ) . innerText = "" ; } FixFeedList ( ) ; }
updates a feed item's unread count
updates a feed item ' s unread count