Reverts hideChaff fix

This commit is contained in:
alschmiedt
2019-04-11 11:43:37 -07:00
parent dcbac91ba3
commit be4da5feeb

View File

@@ -420,11 +420,6 @@ Blockly.init_ = function(mainWorkspace) {
*/
Blockly.inject.bindDocumentEvents_ = function() {
if (!Blockly.documentEventsBound_) {
document.addEventListener('mouseup', function() {
Blockly.hideChaff();
Blockly.Touch.clearTouchIdentifier(); // Don't block future drags.
}, false);
Blockly.bindEventWithChecks_(document, 'scroll', null, function() {
var workspaces = Blockly.Workspace.getAll();
for (var i = 0, workspace; workspace = workspaces[i]; i++) {