Commit e7e0f0b6 authored by Sean Hammond's avatar Sean Hammond

Correct a docstring

Simply having no content does not make an annotation a highlight (it
also has to not be a page note or reply).
parent bf4fe8b5
...@@ -364,8 +364,8 @@ function AnnotationController( ...@@ -364,8 +364,8 @@ function AnnotationController(
/** /**
* @ngdoc method * @ngdoc method
* @name annotation.AnnotaitonController#hasContent * @name annotation.AnnotaitonController#hasContent
* @returns {boolean} True if the currently edited annotation has * @returns {boolean} `true` if this annotation has content, `false`
* content (ie. is not just a highlight) * otherwise.
*/ */
vm.hasContent = function() { vm.hasContent = function() {
var textLength = (vm.annotation.text || '').length; var textLength = (vm.annotation.text || '').length;
......
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