Fix function undefined when loading a template

This commit is contained in:
yflory 2017-04-28 12:16:05 +02:00
parent 0ef1c14d7f
commit c820b3485c
1 changed files with 1 additions and 1 deletions

View File

@ -727,7 +727,7 @@ define([
parentEl[newName] = element;
parentEl[oldName] = undefined;
delete parentEl[oldName];
cb();
if (typeof cb === "function") { cb(); }
};
// REPLACE