spec/rails-app/app/assets/javascripts/devise_authy.js in devise-authy-1.6.0 vs spec/rails-app/app/assets/javascripts/devise_authy.js in devise-authy-1.7.0

- old
+ new

@@ -1,7 +1,12 @@ $(document).ready(function() { $('a#authy-request-sms-link').unbind('ajax:success'); $('a#authy-request-sms-link').bind('ajax:success', function(evt, data, status, xhr) { alert(data.message); }); + + $('a#authy-request-phone-call-link').unbind('ajax:success'); + $('a#authy-request-phone-call-link').bind('ajax:success', function(evt, data, status, xhr) { + alert(data.message); + }); });