mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-24 14:13:43 +00:00
added comment for the touches event proto addition
This commit is contained in:
parent
c3dfcf6bdf
commit
0b41fe808c
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,9 @@
|
|||
Math.abs = absFn;
|
||||
$.Event.prototype.originalEvent = originalEventFn;
|
||||
$.Event.prototype.preventDefault = preventDefaultFn;
|
||||
|
||||
// make sure the event objects respond to touches to simulate
|
||||
// the collections existence in non touch enabled test browsers
|
||||
$.Event.prototype.touches = [{pageX: 1, pageY: 1 }];
|
||||
|
||||
$($.mobile.pageContainer).unbind( "throttledresize" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue