diff --git a/src/app/controllers/graphiteTarget.js b/src/app/controllers/graphiteTarget.js index cd8462ac62d..27299474bc0 100644 --- a/src/app/controllers/graphiteTarget.js +++ b/src/app/controllers/graphiteTarget.js @@ -15,7 +15,7 @@ function (angular, _, config, gfunc, Parser) { $scope.init = function() { $scope.target.target = $scope.target.target || ''; - $scope.targetLetter = targetLetters[$scope.$index]; + $scope.targetLetters = targetLetters; parseTarget(); }; diff --git a/src/app/partials/graphite/editor.html b/src/app/partials/graphite/editor.html index 46e7d081884..4d670255bc0 100755 --- a/src/app/partials/graphite/editor.html +++ b/src/app/partials/graphite/editor.html @@ -41,7 +41,7 @@