From 83c3d33472c6828f617ffde4bea861e7cd403e79 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 9 Mar 2016 12:11:43 +0100 Subject: [PATCH] minor code style --- src/editor/modules/documentCanvas/canvas/genericElement.js | 2 +- src/editor/plugins/core/img/imgElement.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor/modules/documentCanvas/canvas/genericElement.js b/src/editor/modules/documentCanvas/canvas/genericElement.js index fd0dfc4..b4a4ce5 100644 --- a/src/editor/modules/documentCanvas/canvas/genericElement.js +++ b/src/editor/modules/documentCanvas/canvas/genericElement.js @@ -102,7 +102,7 @@ $.extend(generic, { if(_.isBoolean(changes.active) && !isSpan) { this._container().toggleClass('current-node-element', changes.active); } - }, + } }); diff --git a/src/editor/plugins/core/img/imgElement.js b/src/editor/plugins/core/img/imgElement.js index 47b1467..622c127 100644 --- a/src/editor/plugins/core/img/imgElement.js +++ b/src/editor/plugins/core/img/imgElement.js @@ -71,7 +71,7 @@ _.extend(linkElement, { event.success(); }, { metadata: { - description: gettext('Edit image'), + description: gettext('Edit image') //fragment: doc.createFragment(doc.CaretFragment, {node: el.wlxmlNode.contents()[0], offset:offset}) }, success: function() { -- 2.20.1