diff --git a/src/app/directives/bootstrap-tagsinput.js b/src/app/directives/bootstrap-tagsinput.js index fb9954bb3b4..a4ffc623a3b 100644 --- a/src/app/directives/bootstrap-tagsinput.js +++ b/src/app/directives/bootstrap-tagsinput.js @@ -66,9 +66,6 @@ function (angular, $) { } }); - // create a shallow copy of model's current state, needed to determine - // diff when model changes - var prev = scope.model.slice(); scope.$watch("model", function() { if (!angular.isArray(scope.model)) { scope.model = [];