Skip to content

Commit fd33a68

Browse files
Update main.js
Fix Indentation
1 parent 7255348 commit fd33a68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ GoDice.prototype.onDiceConnected = (diceId, diceInstance) => {
3131
const diceHtmlEl = getDiceHtmlEl(diceId);
3232

3333
// clear existing die element content if it exists
34-
while (diceHtmlEl.firstChild) {
35-
diceHtmlEl.removeChild(diceHtmlEl.lastChild);
36-
}
34+
while (diceHtmlEl.firstChild) {
35+
diceHtmlEl.removeChild(diceHtmlEl.lastChild);
36+
}
3737

3838
// get die host from html, where we will put our connected dices
3939
const diceHost = document.getElementById("dice-host");

0 commit comments

Comments
 (0)