Files
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

7 lines
221 B
JavaScript

(function () {
var $root = document.getElementsByClassName('root')[0];
if (window.hasEvent('touchstart')) {
$root.dataset.isTouch = true;
document.addEventListener('touchstart', function(){}, false);
}
})();