mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-21 18:39:48 -04:00
Revert "Convert createDom calls to createUntypedDom"
This commit is contained in:
parent
915ff64b65
commit
d215314ffd
12 changed files with 39 additions and 51 deletions
core
|
@ -28,7 +28,6 @@ goog.provide('Blockly.Toolbox');
|
|||
|
||||
goog.require('Blockly.Flyout');
|
||||
goog.require('goog.dom');
|
||||
goog.require('goog.dom.TagName');
|
||||
goog.require('goog.events');
|
||||
goog.require('goog.events.BrowserFeature');
|
||||
goog.require('goog.html.SafeHtml');
|
||||
|
@ -147,8 +146,7 @@ Blockly.Toolbox.prototype.init = function() {
|
|||
var workspace = this.workspace_;
|
||||
|
||||
// Create an HTML container for the Toolbox menu.
|
||||
this.HtmlDiv =
|
||||
goog.dom.createDom(goog.dom.TagName.DIV, 'blocklyToolboxDiv');
|
||||
this.HtmlDiv = goog.dom.createDom('div', 'blocklyToolboxDiv');
|
||||
this.HtmlDiv.setAttribute('dir', workspace.RTL ? 'RTL' : 'LTR');
|
||||
document.body.appendChild(this.HtmlDiv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue