Trending images #77

Merged
bones7242 merged 9 commits from trending-images into master 2017-07-12 18:03:18 +02:00
3 changed files with 17 additions and 17 deletions
Showing only changes of commit 352defd0d8 - Show all commits

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>