X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/e4c529f82588395c666ab6786cc9e5cbe827fb90..2f9850da2c6ad0258f87c3d8972689da6aa8011d:/src/editor/modules/documentCanvas/canvas/elementsRegister.js?ds=sidebyside diff --git a/src/editor/modules/documentCanvas/canvas/elementsRegister.js b/src/editor/modules/documentCanvas/canvas/elementsRegister.js index 9a44514..7b2cf99 100644 --- a/src/editor/modules/documentCanvas/canvas/elementsRegister.js +++ b/src/editor/modules/documentCanvas/canvas/elementsRegister.js @@ -38,9 +38,6 @@ _.extend(ElementsRegister.prototype, { } }.bind(this)); } - if(!Factory) { - Factory = this.BaseType; - } return Factory; } });