Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
+1
@@ -0,0 +1 @@
|
||||
!function(t){if(t.support.touch="ontouchend"in document,t.support.touch){var e,o=t.ui.mouse.prototype,u=o._mouseInit,n=o._mouseDestroy;o._touchStart=function(o){!e&&this._mouseCapture(o.originalEvent.changedTouches[0])&&(e=!0,this._touchMoved=!1,c(o,"mouseover"),c(o,"mousemove"),c(o,"mousedown"))},o._touchMove=function(o){e&&(this._touchMoved=!0,c(o,"mousemove"))},o._touchEnd=function(o){e&&(c(o,"mouseup"),c(o,"mouseout"),this._touchMoved||c(o,"click"),e=!1)},o._mouseInit=function(){var o=this;o.element.bind({touchstart:t.proxy(o,"_touchStart"),touchmove:t.proxy(o,"_touchMove"),touchend:t.proxy(o,"_touchEnd")}),u.call(o)},o._mouseDestroy=function(){var o=this;o.element.unbind({touchstart:t.proxy(o,"_touchStart"),touchmove:t.proxy(o,"_touchMove"),touchend:t.proxy(o,"_touchEnd")}),n.call(o)}}function c(o,t){if(!(1<o.originalEvent.touches.length)){o.preventDefault();var e=o.originalEvent.changedTouches[0],u=document.createEvent("MouseEvents");u.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),o.target.dispatchEvent(u)}}}(jQuery);
|
||||
Reference in new issue
Block a user