Skip to content

Commit

Permalink
Fix room item selection
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanBluth committed Mar 13, 2016
1 parent 80d1fb6 commit eefbc26
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions static/js/scenarioEditor/roomView/roomView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit eefbc26

Please sign in to comment.