Skip to content

Commit

Permalink
Pointer(press/release) don't work in IE8 #792
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes committed Jan 16, 2015
1 parent d1f6f67 commit fd6bb59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $.each({
function eventHandler(e) {
var res, origType = e.handleObj.origType;

if(!e.button) {
if(e.which === 1) {
e.type = spec;
res = $.event.dispatch.apply(this, arguments);
e.type = origType;
Expand Down

0 comments on commit fd6bb59

Please sign in to comment.