Ekkehard von Kuenssberg, Thomas Hazlehurst (artist), Niccolò Lapi & Szkodna.

This commit is contained in:
nik gaffney 2021-06-15 16:46:50 +02:00
parent e27a7e824c
commit ee704c8a19

View file

@ -11,11 +11,11 @@ var $container = document.getElementById('container')
var $topbar = document.getElementById('topbar') var $topbar = document.getElementById('topbar')
var $shuffle = document.createElement('button') var $shuffle = document.createElement('button')
var $shufflesuit = document.createElement('button') var $loq = document.createElement('button')
var $fan = document.createElement('button') var $fan = document.createElement('button')
$shuffle.textContent = 'Shuffle' $shuffle.textContent = 'Shuffle'
$shufflesuit.textContent = 'L.O.Q' $loq.textContent = 'L.O.Q'
$fan.textContent = 'Fan' $fan.textContent = 'Fan'
$topbar.appendChild($shuffle) $topbar.appendChild($shuffle)
@ -148,7 +148,7 @@ $bysuit.addEventListener('click', function () {
deck.bysuit() deck.bysuit()
}) })
$shufflesuit.addEventListener('click', function () { $loq.addEventListener('click', function () {
deck.shuffle() deck.shuffle()
deck.bysuit() deck.bysuit()
}) })