Skip to content

Commit 0a2fdec

Browse files
author
Anton Pavlov
committed
success to then change
1 parent e7aacc0 commit 0a2fdec

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

visualcaptcha.angular.src.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ define( 'visualcaptcha.angular',[
13371337
method: 'GET',
13381338
url: url,
13391339
withCredentials: true
1340-
}).success( callback );
1340+
}).then( function(response) {callback(response.data);} );
13411341
};
13421342
return {
13431343
restrict: 'A',

0 commit comments

Comments
 (0)