diff --git a/tests/playgrounds/advanced_playground.html b/tests/playgrounds/advanced_playground.html index e729d0091..6e12d1304 100644 --- a/tests/playgrounds/advanced_playground.html +++ b/tests/playgrounds/advanced_playground.html @@ -152,11 +152,11 @@ function createWorkspace() { // Create main workspace. addGUIControls((options) => { - workspace = Blockly.inject('blocklyDiv', defaultOptions); + workspace = Blockly.inject('blocklyDiv', options); workspace.configureContextMenu = configureContextMenu; addToolboxButtonCallbacks(); return workspace; - }, options); + }, defaultOptions); } function addToolboxButtonCallbacks() {