From: Jan Szejko Date: Wed, 9 Mar 2016 11:11:43 +0000 (+0100) Subject: minor code style X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/83c3d33472c6828f617ffde4bea861e7cd403e79?ds=inline minor code style --- 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() {