function updateNotificationIcon(index) {
            var model = models[index],
                $notificationIcon = $dlg.find(".nav-tabs li").eq(index).find(".notification");
            if (model.notifyCount) {
                $notificationIcon.text(model.notifyCount);
                $notificationIcon.show();
            } else {
                $notificationIcon.hide();
            }
        }
function updateNotificationIcon(index) {
            var model = models[index],
                $notificationIcon = $dlg.find(".nav-tabs li").eq(index).find(".notification");
            if (model.notifyCount) {
                $notificationIcon.text(model.notifyCount);
                $notificationIcon.show();
            } else {
                $notificationIcon.hide();
            }
        }
function updateNotificationIcon ( index ) { var model = models [ index ] , $notificationIcon = $dlg . find ( ".nav-tabs li" ) . eq ( index ) . find ( ".notification" ) ; if ( model . notifyCount ) { $notificationIcon . text ( model . notifyCount ) ; $notificationIcon . show ( ) ; } else { $notificationIcon . hide ( ) ; } }
Update & hide/show the notification overlay on a tab's icon, based on its model's notifyCount
Update & hide / show the notification overlay on a tab s icon based on its model s notifyCount
Update notification icon