Skip to content

Commit c1f2d2c

Browse files
committed
Changed the button event from touchstart to click, as touchstart doesn't work on iPad among other things
1 parent a1b7ea0 commit c1f2d2c

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

src/GeoLocationForPhoneGap/widget/GeoLocationForPhoneGap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ dojo.declare('GeoLocationForPhoneGap.widget.GeoLocationForPhoneGap', mxui.widget
115115
var me = this;
116116

117117
// Attach only one event to dropdown list.
118-
dojo.connect( this._button, "touchstart", dojo.hitch(this, function(evt){
118+
dojo.connect( this._button, "click", dojo.hitch(this, function(evt){
119119
console.log('GEO Location start getting location.');
120120

121121
// The camera function has a success, failure and a reference to this.

test/GeoLocationTest.mpr

9 KB
Binary file not shown.

0 commit comments

Comments
 (0)