Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADE Feed URL Scraper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin Soyer
ADE Feed URL Scraper
Commits
49af4a05
Commit
49af4a05
authored
Dec 19, 2023
by
Benjamin SOYER
Browse files
Options
Downloads
Patches
Plain Diff
correction bug button copy qui submit un form
parent
42e3816f
Branches
main
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ade_feed_url/templates/index.html
+2
-2
2 additions, 2 deletions
ade_feed_url/templates/index.html
with
2 additions
and
2 deletions
ade_feed_url/templates/index.html
+
2
−
2
View file @
49af4a05
...
...
@@ -35,7 +35,7 @@
</div>
<div
style=
"display: flex; align-items: center"
>
<h2>
URL à utiliser
</h2>
<button
id =
"clipboardCopy"
style=
"margin-left: 1rem;"
>
Copier
</button>
<button
id =
"clipboardCopy"
style=
"margin-left: 1rem;"
type=
"button"
>
Copier
</button>
</div>
<section
class=
"url"
>
<div
class=
"loading hidden"
>
...
...
@@ -118,7 +118,7 @@
document
.
querySelector
(
"
.loading
"
).
classList
.
add
(
"
hidden
"
)
})
})
document
.
getElementById
(
'
clipboardCopy
'
).
addEventListener
(
'
click
'
,
(
clipboardCopy
)
=>
{
document
.
getElementById
(
'
clipboardCopy
'
).
addEventListener
(
"
copy
"
,
(
clipboardCopy
)
=>
{
navigator
.
clipboard
.
writeText
(
document
.
getElementById
(
"
url
"
).
innerText
);
});
...
...
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