标签:
var hasTouch=function(){ var touchObj={}; touchObj.isSupportTouch = "ontouchend" in document ? true : false; touchObj.isEvent=touchObj.isSupportTouch?‘touchstart‘:‘click‘; return touchObj.isEvent; }
标签:
原文地址:http://www.cnblogs.com/mmdrs/p/4267437.html