From 622d3d9681c518a9b1e0cf309a9f49a8d29ffff8 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 23 Nov 2024 13:36:35 +0100 Subject: [PATCH] Latest clipboard.js --- src/alfagok/static/game.js | 2 +- src/alfagok/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/alfagok/static/game.js b/src/alfagok/static/game.js index e1e7457..af8810d 100644 --- a/src/alfagok/static/game.js +++ b/src/alfagok/static/game.js @@ -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 = '

Gekopieerd! Deel je resultaat.

'; diff --git a/src/alfagok/templates/index.html b/src/alfagok/templates/index.html index b30c295..17e7d2d 100644 --- a/src/alfagok/templates/index.html +++ b/src/alfagok/templates/index.html @@ -64,7 +64,7 @@ - + {#