Fix redirect on Code demo.

This commit is contained in:
Neil Fraser
2014-11-20 17:23:05 -08:00
parent a2ddb04f21
commit 6e14380fd2
3 changed files with 5 additions and 5 deletions

View File

@@ -338,7 +338,7 @@ Code.init = function() {
BlocklyStorage['LINK_ALERT'] = MSG['linkAlert'];
BlocklyStorage['HASH_ERROR'] = MSG['hashError'];
BlocklyStorage['XML_ERROR'] = MSG['xmlError'];
BlocklyApps.bindClick(linkButton, BlocklyStorage.link);
Code.bindClick(linkButton, BlocklyStorage.link);
} else if (linkButton) {
linkButton.className = 'disabled';
}