From 38557d45bef8158dbc23edd0f44658927a682656 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Tue, 19 May 2020 09:59:08 -0700 Subject: [PATCH] Fix advanced playground options passing (#3907) --- tests/playgrounds/advanced_playground.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {