mirror of
https://github.com/aquatix/alfagok.git
synced 2025-12-06 21:05:10 +01:00
Latest clipboard.js
This commit is contained in:
@@ -135,7 +135,7 @@ function getFormattedTime(milliseconds) {
|
||||
|
||||
/* Clipboard stuff **/
|
||||
|
||||
let clip = new Clipboard('.copy');
|
||||
let clip = new ClipboardJS('.copy');
|
||||
|
||||
clip.on("success", function(e) {
|
||||
document.getElementById('copyresults').innerHTML = '<p style="font-size:var(--small);opacity:50%">Gekopieerd! Deel je resultaat.</p>';
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.12/clipboard.min.js" rel=preload></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js"></script>
|
||||
<script src="/static/game.js"></script>
|
||||
{#
|
||||
<button x-data @click="$store.darkMode.toggle()">Toggle Dark Mode</button>
|
||||
|
||||
Reference in New Issue
Block a user