Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Fixes commit #3351 - 87db1cf. This breaks any widget e.g. datebox whi…
Browse files Browse the repository at this point in the history
…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
sheebz committed Feb 29, 2012
1 parent 9f9fbb8 commit f161355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.mobile.dialog.js
Expand Up @@ -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() {
self.close();
});

Expand Down

0 comments on commit f161355

Please sign in to comment.