diff --git a/www/whiteboard/main.js b/www/whiteboard/main.js index fbc7343ef..c28ad84c8 100644 --- a/www/whiteboard/main.js +++ b/www/whiteboard/main.js @@ -181,7 +181,7 @@ window.canvas = canvas; canvas.discardActiveGroup(); } canvas.renderAll(); - config.onLocal(); + module.onLocal(); }; $deleteButton.click(deleteSelection); $(window).on('keyup', function (e) { @@ -506,7 +506,7 @@ window.canvas = canvas; }; - var onLocal = config.onLocal = Catch(function () { + var onLocal = module.onLocal = config.onLocal = Catch(function () { if (initializing) { return; } if (readOnly) { return; }