Skip to content

Commit

Permalink
Merge pull request #1201 from ShaneXie/bugfix/fix-event-target-restore
Browse files Browse the repository at this point in the history
restore original event target correctly
  • Loading branch information
sekmenhuseyin authored Apr 30, 2018
2 parents 6380794 + 92ee796 commit a26c6d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.bxslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@
slider.viewport.get(0).setPointerCapture(slider.pointerId);
}
// store original event data for click fixation
slider.originalClickTarget = orig.originalTarget;
slider.originalClickTarget = orig.originalTarget || orig.target;
slider.originalClickButton = orig.button;
slider.originalClickButtons = orig.buttons;
slider.originalEventType = orig.type;
Expand Down
Loading

0 comments on commit a26c6d9

Please sign in to comment.