From ebea0d91af124384d73ab97ee28d0e01a6ecfbda Mon Sep 17 00:00:00 2001 From: Tom Piccirello Date: Sun, 21 Jan 2018 20:03:30 -0500 Subject: [PATCH] Remove default case, fix #8302 --- src/webui/www/public/scripts/dynamicTable.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webui/www/public/scripts/dynamicTable.js b/src/webui/www/public/scripts/dynamicTable.js index bdff917f1..b9589971e 100644 --- a/src/webui/www/public/scripts/dynamicTable.js +++ b/src/webui/www/public/scripts/dynamicTable.js @@ -776,7 +776,7 @@ var TorrentsTable = new Class({ // state_icon this.columns['state_icon'].updateTd = function (td, row) { var state = this.getRowValue(row); - + // normalize states switch (state) { case "forcedDL": case "metaDL": @@ -805,11 +805,11 @@ var TorrentsTable = new Class({ state = "checking"; break; case "unknown": - case "error": case "missingFiles": - default: state = "error"; break; + default: + break; // do nothing } var img_path = 'images/skin/' + state + '.png';