138c138 < var etoast_on=(navigator.userAgent.match(/Android|BlackBerry|iPhone|iPod|iPad|Opera Mini|IEMobile/i) ? true : false); --- > var etoast_on=(navigator.userAgent.match(/Android|BlackBerry|iPhone|iPod|Opera Mini|IEMobile/i) ? true : false); 156d155 < var elemLeft=0, elemTop=0; 186c185 < wdebye+=' '; --- > wdebye+=' '; 798c797 < wdebye+=' '; --- > wdebye+=' '; 832,834c831,832 < function sback(e,spo) { < var moxx=0, moyy=0; < var rstis=spo.getBoundingClientRect(); --- > function sback(spo) { > //var rstis=spo.getBoundingClientRect(); 838,866c836 < < //elemLeft = spo.offsetLeft; < //elemTop = spo.offsetTop; < < e = e || window.event; < e.preventDefault(); < < if (e.touches) { < if (e.touches[0].pageX) { < moxx = e.touches[0].pageX + document.body.scrollLeft * 0 - elemLeft; < moyy = e.touches[0].pageY + document.body.scrollTop * 0 - elemTop; < } else { < moxx = e.touches[0].clientX + document.body.scrollLeft * 0 - elemLeft; < moyy = e.touches[0].clientY + document.body.scrollTop * 0 - elemTop; < } < //console.log('pos3=' + pos3 + ',pos4=' + pos4); < } else if (e.clientX || e.clientY) { < moxx = e.clientX + document.body.scrollLeft * 0 - elemLeft; < moyy = e.clientY + document.body.scrollTop * 0 - elemTop; < } else { < moxx = e.pageX + document.body.scrollLeft * 0 - elemLeft; < moyy = e.pageY + document.body.scrollTop * 0 - elemTop; < } < < if (Math.abs(eval('' + moyy) - eval('' + rstis.top)) <= Math.abs(eval('' + moyy) - eval('' + rstis.bottom))) { < spo.style.cursor='url("data:image/svg+xml;utf8,S") 16 0, progress'; < } else { < spo.style.cursor='url("data:image/svg+xml;utf8,O") 16 0, progress'; < } --- > //spo.style.cursor='url("data:image/svg+xml;utf8,SO") 16 0, progress';