Browse files

Fixes commit #3351 - 87db1cf. This breaks any widget e.g. datebox whi…

…ch was firing vclick events to close dialog. In addition, jquery mobile enables fastclick (vclick) out of the box, see useFastClick, the documentation actually advises that disabling will break widgets.
  • Loading branch information...
1 parent 9f9fbb8 commit f161355c523a3d9cd1d3def89c48d76432d890f9 @sheebz sheebz committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/
@@ -36,7 +36,7 @@ $.widget( "mobile.dialog", $.mobile.widget, {
// Use click rather than vclick in order to prevent the possibility of unintentionally
// reopening the dialog if the dialog opening item was directly under the close button.
- headerCloseButton.bind( "click", function() {
+ headerCloseButton.bind( "vclick", function() {

0 comments on commit f161355

Please sign in to comment.