Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Use PointerEvent to be check for loading PointerEvents polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jun 12, 2013
1 parent 3648058 commit d6328b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pointergestures.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
var src = script.attributes.src.value;
var basePath = src.slice(0, src.indexOf(thisFile));

if (!window.PointerEventPolyfill) {
if (!window.PointerEvent) {
document.write('<script src="' + basePath + '../PointerEvents/pointerevents.js"></script>');
}

Expand Down

0 comments on commit d6328b1

Please sign in to comment.