mirror of https://github.com/xwiki-labs/cryptpad
Fix function undefined when loading a template
This commit is contained in:
parent
0ef1c14d7f
commit
c820b3485c
|
@ -727,7 +727,7 @@ define([
|
||||||
parentEl[newName] = element;
|
parentEl[newName] = element;
|
||||||
parentEl[oldName] = undefined;
|
parentEl[oldName] = undefined;
|
||||||
delete parentEl[oldName];
|
delete parentEl[oldName];
|
||||||
cb();
|
if (typeof cb === "function") { cb(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
// REPLACE
|
// REPLACE
|
||||||
|
|
Loading…
Reference in New Issue