X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/0c57fd826a58a217f499b5084c837fb8ef3f6d4f..55a7fd3acdadc4777e2680b9bf64f96c509c6dac:/src/editor/modules/documentCanvas/canvas/elementsRegister.js 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; } });