else if (navigator.msPointerEnabled && !navigator.pointerEnabled) {
$.extend($.event.special, {
pointerdown: {
delegateType: "MSPointerDown",
bindType: "MSPointerDown"
},
pointerup: {
delegateType: "MSPointerUp",
bindType: "MSPointerUp"
},
pointermove: {
delegateType: "MSPointerMove",
bindType: "MSPointerMove"
},
pointerover: {
delegateType: "MSPointerOver",
bindType: "MSPointerOver"
},
pointerout: {
delegateType: "MSPointerOut",
bindType: "MSPointerOut"
},
pointercancel: {
delegateType: "MSPointerCancel",
bindType: "MSPointerCancel"
}
});
$.extend($.event.fixHooks, {
MSPointerDown: $.event.pointerHooks,
MSPointerUp: $.event.pointerHooks,
MSPointerMove: $.event.pointerHooks,
MSPointerOver: $.event.pointerHooks,
MSPointerOut: $.event.pointerHooks,
MSPointerCancel: $.event.pointerHooks
});
}