diff --git a/NzbDrone.Web/Views/Series/Index.cshtml b/NzbDrone.Web/Views/Series/Index.cshtml index 6590e6af8..339e36da1 100644 --- a/NzbDrone.Web/Views/Series/Index.cshtml +++ b/NzbDrone.Web/Views/Series/Index.cshtml @@ -165,7 +165,9 @@ } }, //Next Airing { sWidth: '140px', "mDataProp": "Episodes", "bSortable": false, "fnRender": function (row) { - var progress = row.aData["EpisodeFileCount"] / row.aData["EpisodeCount"] * 100; + var progress = 100; + if (row.aData["EpisodeCount"] > 0) + progress = row.aData["EpisodeFileCount"] / row.aData["EpisodeCount"] * 100; var result = "
" + "" + row.aData["EpisodeFileCount"] + " / " + row.aData["EpisodeCount"] +"" +