Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Check for standard properties before prefixed properties
Browse files Browse the repository at this point in the history
Fixes gh-225
  • Loading branch information
scottgonzalez committed Oct 29, 2015
1 parent 35ac341 commit 1c93f07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ var touchEvents = {
e.detail = this.clickCount;
e.button = 0;
e.buttons = this.typeToButtons(cte.type);
e.width = inTouch.webkitRadiusX || inTouch.radiusX || 0;
e.height = inTouch.webkitRadiusY || inTouch.radiusY || 0;
e.pressure = inTouch.webkitForce || inTouch.force || 0.5;
e.width = inTouch.radiusX || inTouch.webkitRadiusX || 0;
e.height = inTouch.radiusY || inTouch.webkitRadiusY || 0;
e.pressure = inTouch.force || inTouch.webkitForce || 0.5;
e.isPrimary = this.isPrimaryTouch(inTouch);
e.pointerType = this.POINTER_TYPE;

Expand Down

0 comments on commit 1c93f07

Please sign in to comment.