Commit 34d21546 authored by Sean Hammond's avatar Sean Hammond

Remove vm.preview

Remove AnnotationController's vm.preview as it doesn't appear to be
used.
parent 2b2e02db
......@@ -166,7 +166,6 @@ function AnnotationController(
// directive's templates to always access variables from vm rather than
// directly from scope).
vm.isSidebar = $scope.isSidebar;
vm.preview = 'no';
vm.timestamp = null;
/** The domain model, contains the currently saved version of the annotation
......@@ -363,7 +362,6 @@ function AnnotationController(
updateDraft(model);
}
vm.action = model.id ? 'edit' : 'create';
vm.preview = 'no';
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment