From ee704c8a19e672d31cc5a9daa0769000b5d76391 Mon Sep 17 00:00:00 2001 From: nik gaffney Date: Tue, 15 Jun 2021 16:46:50 +0200 Subject: [PATCH] =?UTF-8?q?Ekkehard=20von=20Kuenssberg,=20Thomas=20Hazlehu?= =?UTF-8?q?rst=20(artist),=20Niccol=C3=B2=20Lapi=20&=20Szkodna.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/shuffle/example.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/shuffle/example.js b/web/shuffle/example.js index c592062..199289d 100644 --- a/web/shuffle/example.js +++ b/web/shuffle/example.js @@ -11,11 +11,11 @@ var $container = document.getElementById('container') var $topbar = document.getElementById('topbar') var $shuffle = document.createElement('button') -var $shufflesuit = document.createElement('button') +var $loq = document.createElement('button') var $fan = document.createElement('button') $shuffle.textContent = 'Shuffle' -$shufflesuit.textContent = 'L.O.Q' +$loq.textContent = 'L.O.Q' $fan.textContent = 'Fan' $topbar.appendChild($shuffle) @@ -148,7 +148,7 @@ $bysuit.addEventListener('click', function () { deck.bysuit() }) -$shufflesuit.addEventListener('click', function () { +$loq.addEventListener('click', function () { deck.shuffle() deck.bysuit() })