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

do scope apply after validate #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion release/angular-recaptcha.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* angular-recaptcha build:2016-04-12
* angular-recaptcha build:2016-05-19
* https://github.com/vividcortex/angular-recaptcha
* Copyright (c) 2016 VividCortex
**/
Expand Down Expand Up @@ -296,6 +296,7 @@
if(ctrl){
ctrl.$setValidity('recaptcha', scope.required === false ? null : Boolean(scope.response));
}
scope.$apply;
}

function cleanup(){
Expand Down
4 changes: 2 additions & 2 deletions release/angular-recaptcha.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
if(ctrl){
ctrl.$setValidity('recaptcha', scope.required === false ? null : Boolean(scope.response));
}
scope.$apply;
}

function cleanup(){
Expand Down