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() })