Removed unused event argument.

This commit is contained in:
Aaron Dodson
2021-06-30 17:52:17 +00:00
parent 5aa8bab22f
commit c163a76807

View File

@@ -880,7 +880,7 @@ Blockly.WorkspaceSvg.prototype.createDom = function(opt_backgroundClass) {
// This no-op works around https://bugs.webkit.org/show_bug.cgi?id=226683,
// which otherwise prevents zoom/scroll events from being observed in
// Safari. Once that bug is fixed it should be removed.
document.body.addEventListener('wheel', function(e) {});
document.body.addEventListener('wheel', function() {});
Blockly.browserEvents.conditionalBind(
this.svgGroup_, 'wheel', this, this.onMouseWheel_);
}