Skip to content

Commit fa6b9c3

Browse files
committed
Add $document to directives dependency
1 parent ca21f6e commit fa6b9c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/angular-no-captcha.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ angular
4444
.directive('noCaptcha', [
4545
'noCAPTCHA',
4646
'googleGrecaptcha',
47-
function (noCaptcha, googleGrecaptcha){
47+
'$document',
48+
function (noCaptcha, googleGrecaptcha, $document){
4849
/**
4950
* Removes all .pls-container elements
5051
*

0 commit comments

Comments
 (0)