Fix visibility changes with toolbox.

This commit is contained in:
Neil Fraser
2015-05-22 17:08:59 -07:00
parent 37eff10fe6
commit e8ab929b6a
6 changed files with 65 additions and 35 deletions

View File

@@ -418,8 +418,8 @@ h1 {
<h1>Blockly Playground</h1>
<p><a href="javascript:void([document.getElementById('blocklyDiv').style.display = 'block', workspace.render()])">Show</a>
- <a href="javascript:void(document.getElementById('blocklyDiv').style.display = 'none')">Hide</a></p>
<p><a href="javascript:void(workspace.setVisible(true))">Show</a>
- <a href="javascript:void(workspace.setVisible(false))">Hide</a></p>
<script>
if (rtl) {