Commit 2ac03033 authored by Randall Leeds's avatar Randall Leeds

Merge pull request #353 from hypothesis/352_fix

Easy fix for bug #352
parents 7d59da12 9dc95138
......@@ -212,6 +212,8 @@ class Annotation
annotator.publish 'annotationCreated', $scope.model.$modelValue
when 'delete'
$scope.model.$modelValue.deleted = true
unless $scope.model.$modelValue.text?
$scope.model.$modelValue.text = ''
annotator.updateAnnotation $scope.model.$modelValue
else
annotator.updateAnnotation $scope.model.$modelValue
......
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