Kondan (24°43"N 95°10"E)
This commit is contained in:
parent
ba91cc99d7
commit
0d22df8106
1 changed files with 7 additions and 1 deletions
|
@ -15,7 +15,7 @@ var $bysuit = document.createElement('button')
|
|||
var $fan = document.createElement('button')
|
||||
|
||||
$shuffle.textContent = 'Shuffle'
|
||||
$bysuit.textContent = 'By suit'
|
||||
$shufflesuit.textContent = 'L.O.Q'
|
||||
$fan.textContent = 'Fan'
|
||||
|
||||
$topbar.appendChild($shuffle)
|
||||
|
@ -147,6 +147,12 @@ $bysuit.addEventListener('click', function () {
|
|||
deck.sort(true) // sort reversed
|
||||
deck.bysuit()
|
||||
})
|
||||
|
||||
$shufflesuit.addEventListener('click', function () {
|
||||
deck.shuffle()
|
||||
deck.bysuit()
|
||||
})
|
||||
|
||||
$fan.addEventListener('click', function () {
|
||||
deck.fan()
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue