mirror of
https://github.com/google/blockly.git
synced 2026-03-10 07:10:11 +01:00
@@ -145,7 +145,7 @@ Blockly.svgResize = function(workspace) {
|
||||
var svg = mainWorkspace.getParentSvg();
|
||||
var div = svg.parentNode;
|
||||
if (!div) {
|
||||
// Workspace deteted, or something.
|
||||
// Workspace deleted, or something.
|
||||
return;
|
||||
}
|
||||
var width = div.offsetWidth;
|
||||
|
||||
Reference in New Issue
Block a user