Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
restore IE touch compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rkusa committed Jun 19, 2014
1 parent 1ce0338 commit b98c117
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Markus Ast",
"email": "[email protected]"
},
"version": "0.4.0",
"version": "0.4.1",
"homepage": "http://ma.rkusa.st/touch-dnd/",
"devDependencies": {
"uglify-js": "2.x.x"
Expand Down
2 changes: 1 addition & 1 deletion touch-dnd.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
this.el = el
this.handle = handle
var el = this.handle || this.el
// vendorify('touchAction', el[0], 'none')
el.css('-ms-touch-action', 'none').css('touch-action', 'none')
this.origin.x = window.event && window.event.changedTouches && event.changedTouches[0].pageX || e.pageX
this.origin.y = window.event && window.event.changedTouches && event.changedTouches[0].pageY || e.pageY
this.origin.transform = vendorify('transform', this.el[0])
Expand Down

0 comments on commit b98c117

Please sign in to comment.