Fix function undefined when loading a template
This commit is contained in:
1 parent
0ef1c14d7f
commit
c820b3485c
1 file changed
+1
-1
@@ -727,7 +727,7 @@ define([
|
||||
parentEl[newName] = element;
|
||||
parentEl[oldName] = undefined;
|
||||
delete parentEl[oldName];
|
||||
cb();
|
||||
if (typeof cb === "function") { cb(); }
|
||||
};
|
||||
|
||||
// REPLACE
|
||||
|
||||
Reference in new issue
Block a user