save caret position when ending a list
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / elementsRegister.js
index 9a44514..7b2cf99 100644 (file)
@@ -38,9 +38,6 @@ _.extend(ElementsRegister.prototype, {
                 }
             }.bind(this));
         }
                 }
             }.bind(this));
         }
-        if(!Factory) {
-            Factory = this.BaseType;
-        }
         return Factory;
     }
 });
         return Factory;
     }
 });