Skip to content

Commit

Permalink
Merge pull request #500 from virtual-world-framework/branch/fix-toolb…
Browse files Browse the repository at this point in the history
…ox-update

Fix For Toolbox Setting When Switching Missions
  • Loading branch information
kadst43 committed May 21, 2015
2 parents 1aea167 + fbb1922 commit 6d61407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/client/lib/vwf/view/blockly.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ define( [ "module", "vwf/view", "jquery", "vwf/model/blockly/JS-Interpreter/acor
// If the new node is the same as the old - exit early to prevent
// breaking synchronization.

if ( previousActiveNode === blocklyNode ) {
if ( previousActiveNode && blocklyNode && previousActiveNode === blocklyNode ) {
setBlockXML( blocklyNode );
break;
}
Expand Down

0 comments on commit 6d61407

Please sign in to comment.