diff --git a/app/assets/javascripts/discourse/app/lib/d-tooltip.js b/app/assets/javascripts/discourse/app/lib/d-tooltip.js index 539aa50c01e..b217b54a44a 100644 --- a/app/assets/javascripts/discourse/app/lib/d-tooltip.js +++ b/app/assets/javascripts/discourse/app/lib/d-tooltip.js @@ -5,7 +5,7 @@ function stopPropagation(instance, event) { event.stopPropagation(); } function hasTouchCapabilities() { - return navigator.maxTouchPoints > 0; + return navigator.maxTouchPoints > 1 || "ontouchstart" in window; } export default function createDTooltip(target, content) {