Permalink
Browse files

Fixing compatibility with $.mobile

  • Loading branch information...
1 parent 3d809a9 commit c1f04490743ce629c702cd80cc5da38b2f402c08 w0rldart committed Dec 22, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 jquery.motionCaptcha.0.2.js
@@ -294,6 +294,10 @@ jQuery.fn.motionCaptcha || (function($) {
// Enable the submit button:
$submit.prop('disabled', false);
+
+ if ( $.mobile ) {
+ $submit.button('enable');
+ }
return;
},
@@ -650,4 +654,4 @@ jQuery.fn.motionCaptcha || (function($) {
return Math.sqrt(dx * dx + dy * dy);
}
-})(jQuery);
+})(jQuery);

0 comments on commit c1f0449

Please sign in to comment.