Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
klaro
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
klaro
Commits
cda59b59
Commit
cda59b59
authored
1 year ago
by
Sascha
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3367642
by kulmjens, sascha_meissner: Toggle button outside of body
parent
50771904
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/klaro.drupal.js
+1
-1
1 addition, 1 deletion
js/klaro.drupal.js
with
1 addition
and
1 deletion
js/klaro.drupal.js
+
1
−
1
View file @
cda59b59
...
...
@@ -35,7 +35,7 @@
// Add toggle dialog button.
if
(
settings
.
klaro
.
show_toggle_button
&&
!
document
.
getElementById
(
'
klaro_toggle_dialog
'
))
{
var
button_html
=
'
<div id="klaro_toggle_dialog" class="klaro_toggle_dialog klaro_toggle_dialog_override" rel="open-consent-manager" ></div>
'
;
document
.
body
.
insertAdjacentHTML
(
'
after
end
'
,
button_html
);
document
.
body
.
insertAdjacentHTML
(
'
before
end
'
,
button_html
);
}
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment