Skip to content

Commit

Permalink
ui: update code style in draw-seven dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Feb 3, 2024
1 parent cdc4191 commit 2beaeb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/ui/ui-window-overlay-draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default class UIWindowOverlayDraw extends HTMLElement {
shuffle (cards) {
let copy = cards.slice(0)

return function() {
return function () {
// create new copy if old pile is exhausted
if (copy.length < 1) copy = cards.slice(0)

Expand All @@ -125,7 +125,7 @@ export default class UIWindowOverlayDraw extends HTMLElement {
this.dom['slot-8-image'].src = '../../assets/cards/background.jpg'

this.dom['slot-8-name'].realInnerHTML = this.dom['slot-8-name'].innerHTML
this.dom['slot-8-name'].innerHTML = "Draw"
this.dom['slot-8-name'].innerHTML = 'Draw'

this.dom['slot-8'].onclick = (ev) => {
this.dom['slot-8-image'].src = this.dom['slot-8-image'].realSrc
Expand Down

0 comments on commit 2beaeb3

Please sign in to comment.