Reverts changes to fix bug with selecting dropdown

This commit is contained in:
alschmiedt
2019-03-12 10:39:09 -07:00
parent d919b4369d
commit 715fdde945
2 changed files with 0 additions and 5 deletions

View File

@@ -420,10 +420,6 @@ Blockly.init_ = function(mainWorkspace) {
*/
Blockly.inject.bindDocumentEvents_ = function() {
if (!Blockly.documentEventsBound_) {
Blockly.bindEventWithChecks_(document, 'mousedown', null, function() {
Blockly.hideChaff();
Blockly.Touch.clearTouchIdentifier(); // Don't block future drags.
});
Blockly.bindEventWithChecks_(document, 'scroll', null, function() {
for (var workspaceId in Blockly.Workspace.WorkspaceDB_) {
var workspace = Blockly.Workspace.WorkspaceDB_[workspaceId];

View File

@@ -171,7 +171,6 @@ Blockly.Toolbox.prototype.init = function() {
Blockly.hideChaff(true);
}
Blockly.Touch.clearTouchIdentifier(); // Don't block future drags.
e.stopPropagation(); // Don't let the document handle this event.
}, /*opt_noCaptureIdentifier*/ false, /*opt_noPreventDefault*/ true);
var workspaceOptions = {
disabledPatternId: workspace.options.disabledPatternId,