Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EDissen URN Service
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ub-unibas
EDissen URN Service
Commits
03968a71
Commit
03968a71
authored
11 months ago
by
Jonas Waeber
Browse files
Options
Downloads
Patches
Plain Diff
fix `{` issue. Need two as this is the escape character.
parent
7909ff8e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/templates/result.html
+2
-4
2 additions, 4 deletions
src/templates/result.html
with
2 additions
and
4 deletions
src/templates/result.html
+
2
−
4
View file @
03968a71
...
...
@@ -8,8 +8,7 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/styles.css"
>
<link
rel=
"icon"
type=
"image/png"
href=
"static/favicon-32x32.png"
sizes=
"32x32"
>
<script>
function
copyToClipboard
()
{
{
function
copyToClipboard
()
{{
const
urnValue
=
document
.
getElementById
(
'
urn
'
).
innerText
;
const
tempInput
=
document
.
createElement
(
'
input
'
);
tempInput
.
value
=
urnValue
;
...
...
@@ -18,8 +17,7 @@
document
.
execCommand
(
'
copy
'
);
document
.
body
.
removeChild
(
tempInput
);
alert
(
'
URN copied to clipboard:
'
+
urnValue
);
}
}
}}
</script>
</head>
...
...
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