Fix function undefined when loading a template
This commit is contained in:
@@ -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