mirror of
https://github.com/google/blockly.git
synced 2026-06-17 08:35:12 +02:00
+1
-1
@@ -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