From 10c6d998c3096c1dd336322d3121bcc650b82d9c Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Tue, 20 Sep 2016 15:10:33 -0700 Subject: [PATCH] Get rid of a console.trace and allow drops on the toolbox --- core/toolbox.js | 2 -- core/touch.js | 1 - 2 files changed, 3 deletions(-) diff --git a/core/toolbox.js b/core/toolbox.js index 66e05d23e..2bc6e3cb3 100644 --- a/core/toolbox.js +++ b/core/toolbox.js @@ -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); }; /** diff --git a/core/touch.js b/core/touch.js index caf2df6b5..8f06c990f 100644 --- a/core/touch.js +++ b/core/touch.js @@ -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; }