Skip to content

Commit

Permalink
revert touch detection
Browse files Browse the repository at this point in the history
  • Loading branch information
louisameline committed Nov 4, 2014
1 parent ffe41dd commit 5520c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.tooltipster.js
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
}

// detect if this device can trigger touch events
var deviceHasTouchCapability = !!window.ontouchstart;
var deviceHasTouchCapability = !!('ontouchstart' in window);

// we'll assume the device has no mouse until we detect any mouse movement
var deviceHasMouse = false;
Expand Down

0 comments on commit 5520c68

Please sign in to comment.