diff --git a/core/inject.js b/core/inject.js index 3493f9f2c6a..33872b1b493 100644 --- a/core/inject.js +++ b/core/inject.js @@ -219,8 +219,7 @@ const init = function(mainWorkspace) { browserEvents.conditionalBind(window, 'resize', null, function() { mainWorkspace.hideChaff(true); common.svgResize(mainWorkspace); - goog.module.get('Blockly.bumpObjects') - .bumpTopObjectsIntoBounds(mainWorkspace); + bumpObjects.bumpTopObjectsIntoBounds(mainWorkspace); }); mainWorkspace.setResizeHandlerWrapper(workspaceResizeHandler);