prevent empty span in a new node
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / genericElement.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);
         }
-    },
+    }
 });