mirror of
https://github.com/google/blockly.git
synced 2026-01-15 12:57:12 +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