mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
Get rid of a console.trace and allow drops on the toolbox
This commit is contained in:
@@ -476,8 +476,6 @@ Blockly.Toolbox.TreeControl.prototype.enterDocument = function() {
|
||||
Blockly.bindEvent_(el, goog.events.EventType.TOUCHSTART, this,
|
||||
this.handleTouchEvent_);
|
||||
}
|
||||
|
||||
Blockly.bindEvent_(el, 'mouseup', this, Blockly.Touch.clearTouchIdentifier);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -212,7 +212,6 @@ Blockly.Touch.checkTouchIdentifier = function(e) {
|
||||
if (e.type == 'mousedown' || e.type == 'touchstart') {
|
||||
// No identifier set yet, and this is the start of a drag. Set it and
|
||||
// return.
|
||||
console.trace('setting touch identfier');
|
||||
Blockly.Touch.touchIdentifier_ = identifier;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user