Get rid of a console.trace and allow drops on the toolbox

This commit is contained in:
Rachel Fenichel
2016-09-20 15:10:33 -07:00
parent 0ecd4c7a17
commit 10c6d998c3
2 changed files with 0 additions and 3 deletions

View File

@@ -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);
};
/**

View File

@@ -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;
}