Fix infinite function call recursion in whiteboard

pull/1/head
ClemDee 5 years ago
parent 06f224bdfe
commit b481b99441

@ -254,6 +254,12 @@ define([
updateLocalPalette(palette);
metadataMgr.onChange(function () {
var md = metadataMgr.getMetadata();
if (md.palette) {
updatePalette(md.palette);
}
});
return {
palette: palette,

Loading…
Cancel
Save