diff --git a/js/jquery.mobile.dialog.js b/js/jquery.mobile.dialog.js index 3fdc3041c23..28e8a6ab6f4 100644 --- a/js/jquery.mobile.dialog.js +++ b/js/jquery.mobile.dialog.js @@ -14,7 +14,6 @@ $.widget( "mobile.dialog", $.mobile.widget, { $closeBtn = $('Close'); $el.delegate("a, form", "click submit", function(e){ - if( e.type == "click" && ( $(e.target).closest('[data-back]')[0] || this==$closeBtn[0] ) ){ self.close(); return false;