diff --git a/core/touch.js b/core/touch.js index 8aad46b08..816e8d618 100644 --- a/core/touch.js +++ b/core/touch.js @@ -48,13 +48,7 @@ Blockly.Touch.touchIdentifier_ = null; * @type {Object} */ Blockly.Touch.TOUCH_MAP = {}; -if (window.PointerEvent) { - Blockly.Touch.TOUCH_MAP = { - 'mousedown': ['pointerdown'], - 'mousemove': ['pointermove'], - 'mouseup': ['pointerup', 'pointercancel'] - }; -} else if (goog.events.BrowserFeature.TOUCH_ENABLED) { +if (goog.events.BrowserFeature.TOUCH_ENABLED) { Blockly.Touch.TOUCH_MAP = { 'mousedown': ['touchstart'], 'mousemove': ['touchmove'],