diff --git a/src/engine/blocks.js b/src/engine/blocks.js index ef62522af..8234a6e24 100644 --- a/src/engine/blocks.js +++ b/src/engine/blocks.js @@ -375,18 +375,14 @@ class Blocks { const change = e.newContents_; if (change.hasOwnProperty('minimized')) { comment.minimized = change.minimized; - break; - } else if (change.hasOwnProperty('width') && change.hasOwnProperty('height')){ + } + if (change.hasOwnProperty('width') && change.hasOwnProperty('height')){ comment.width = change.width; comment.height = change.height; - break; - } else if (change.hasOwnProperty('text')) { - comment.text = change.text; - break; } - log.warn(`Unrecognized comment change: ${ - JSON.stringify(change)} for comment with id: ${e.commentId}.`); - return; + if (change.hasOwnProperty('text')) { + comment.text = change.text; + } } break; case 'comment_move':