minor code style
authorJan Szejko <j-sz@o2.pl>
Wed, 9 Mar 2016 11:11:43 +0000 (12:11 +0100)
committerJan Szejko <j-sz@o2.pl>
Wed, 9 Mar 2016 11:14:27 +0000 (12:14 +0100)
src/editor/modules/documentCanvas/canvas/genericElement.js
src/editor/plugins/core/img/imgElement.js

index fd0dfc4..b4a4ce5 100644 (file)
@@ -102,7 +102,7 @@ $.extend(generic, {
         if(_.isBoolean(changes.active) && !isSpan) {
             this._container().toggleClass('current-node-element', changes.active);
         }
         if(_.isBoolean(changes.active) && !isSpan) {
             this._container().toggleClass('current-node-element', changes.active);
         }
-    },
+    }
 });
 
 
 });
 
 
index 47b1467..622c127 100644 (file)
@@ -71,7 +71,7 @@ _.extend(linkElement, {
                 event.success();
             }, {
                 metadata: {
                 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() {
                     //fragment: doc.createFragment(doc.CaretFragment, {node: el.wlxmlNode.contents()[0], offset:offset})
                 },
                 success: function() {