Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nmaas
nmaas Portal
Merge requests
!185
hide recaptcha emblem when not used
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
hide recaptcha emblem when not used
refactor-groups
into
develop
Overview
0
Commits
1
Pipelines
1
Changes
6
Merged
Karol Beyrowski
requested to merge
refactor-groups
into
develop
2 months ago
Overview
0
Commits
1
Pipelines
1
Changes
6
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
a7f79daa
1 commit,
2 months ago
6 files
+
49
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
src/app/service/recaptcha-visibility.service.ts
0 → 100644
+
18
−
0
Options
import
{
Injectable
}
from
'
@angular/core
'
;
@
Injectable
({
providedIn
:
'
root
'
})
export
class
RecaptchaVisibilityService
{
showBadge
():
void
{
const
badge
=
document
.
querySelector
(
'
.grecaptcha-badge
'
)
as
HTMLElement
;
if
(
badge
)
{
badge
.
style
.
visibility
=
'
visible
'
;
}
}
hideBadge
():
void
{
const
badge
=
document
.
querySelector
(
'
.grecaptcha-badge
'
)
as
HTMLElement
;
if
(
badge
)
{
badge
.
style
.
visibility
=
'
hidden
'
;
}
}
}
Loading