From eefbc26faed253953699f2d46e9872b14057ffef Mon Sep 17 00:00:00 2001 From: Ryan Bluth Date: Sat, 12 Mar 2016 21:16:13 -0500 Subject: [PATCH] Fix room item selection --- static/js/scenarioEditor/roomView/roomView.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/static/js/scenarioEditor/roomView/roomView.js b/static/js/scenarioEditor/roomView/roomView.js index b870a92..304af81 100644 --- a/static/js/scenarioEditor/roomView/roomView.js +++ b/static/js/scenarioEditor/roomView/roomView.js @@ -95,9 +95,6 @@ angular.module('scenarioEditor.roomView', ['ngRoute', 'scenarioServices']) $scope.getUnusedItems = function(){ var items = itemService.getUnusedItems(); - if (items.length > 0) { - $scope.selectedItem = items[0].id; - } return items; };