From 88ecfbdbdacd8e35bb98f2a0f089cc0ca99f189e Mon Sep 17 00:00:00 2001 From: Emmanuel Kasper Date: Mon, 10 Oct 2016 14:32:51 +0200 Subject: [PATCH] Fix jslint warning: 'sortedList' is already defined sortedList was defined twice in the function remove the declaration at the beginning of function as declaring a var just before using it is more similar to the rest of code --- www/manager6/form/ControllerSelector.js | 1 - 1 file changed, 1 deletion(-) diff --git a/www/manager6/form/ControllerSelector.js b/www/manager6/form/ControllerSelector.js index b5c71d90..bf8a53ec 100644 --- a/www/manager6/form/ControllerSelector.js +++ b/www/manager6/form/ControllerSelector.js @@ -18,7 +18,6 @@ Ext.define('PVE.form.ControllerSelector', { vmconfig: {}, // used to check for existing devices sortByPreviousUsage: function(vmconfig, controllerList) { - var sortedList = []; var usedControllers = Ext.clone(PVE.form.ControllerSelector.maxIds);