Skip to content
Snippets Groups Projects
Commit 03968a71 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

fix `{` issue. Need two as this is the escape character.

parent 7909ff8e
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment