Commit 186ddefe authored by Randall Leeds's avatar Randall Leeds

Remove unnecessary guard

Spotted by @gergely-ujvari
parent fad57475
...@@ -188,7 +188,7 @@ AnnotationController = [ ...@@ -188,7 +188,7 @@ AnnotationController = [
angular.extend @annotation, angular.copy model angular.extend @annotation, angular.copy model
# Extract the document metadata. # Extract the document metadata.
if model.document and model.target.length if model.document
domain = extractURIComponent(model.uri, 'hostname') domain = extractURIComponent(model.uri, 'hostname')
@document = @document =
......
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