updated some cosmetics

This commit is contained in:
bill bittner 2017-07-11 17:12:39 -07:00
parent f8ad476488
commit 352defd0d8
3 changed files with 17 additions and 17 deletions

View file

@ -14,3 +14,4 @@
{{> footer}}
</div>
<script src="/assets/js/generalFunctions.js"></script>

View file

@ -43,7 +43,7 @@
<td>{{fileInfo.fileName}}</td>
</tr>
<tr>
<td class="left-column">fileType</td>
<td class="left-column">File Type</td>
<td>{{#if fileInfo.fileType}}
{{fileInfo.fileType}}
{{else}}
@ -53,17 +53,3 @@
</tr>
</table>
</div>
<script type ="text/javascript">
// update the link holder
function copyToClipboard(event){
var elementToCopy = event.target.dataset.elementtocopy;
var element = document.getElementById(elementToCopy);
element.select();
try {
var successful = document.execCommand('copy');
} catch (err) {
alert('Oops, unable to copy');
}
}
</script>

View file

@ -8,3 +8,16 @@
</div>
{{> footer}}
</div>
<script type ="text/javascript">
function copyToClipboard(event){
var elementToCopy = event.target.dataset.elementtocopy;
var element = document.getElementById(elementToCopy);
element.select();
try {
document.execCommand('copy');
} catch (err) {
alert('Oops, unable to copy');
}
}
</script>