From b4c4372394f63cac8c0f688070158ae7ab9590fa Mon Sep 17 00:00:00 2001 From: j Date: Thu, 31 Jan 2019 22:18:53 +0530 Subject: [PATCH] make existing notes editable --- static/js/annotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/annotation.js b/static/js/annotation.js index 98066ea..bf69252 100644 --- a/static/js/annotation.js +++ b/static/js/annotation.js @@ -12,7 +12,7 @@ oml.ui.annotation = function(annotation, $iframe) { } }) var notes = annotation.notes.length ? annotation.notes.map(function(note) { - note.editable = note.user == '' + note.editable = !note.user return note }) : [{ id: 'A',