We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1373094 commit 5ab4de8Copy full SHA for 5ab4de8
haptics.js
@@ -21,5 +21,7 @@ function webkitHaptic() {
21
22
function haptic(x) {
23
webkitHaptic();
24
- navigator.vibrate(x || 50);
+ if (/Android/i.test(navigator.userAgent)) {
25
+ navigator.vibrate(x || 50);
26
+ }
27
}
0 commit comments