Changing const listers to liters

Changed "listers" for "liters" . It works because its written the same when referencing it, but I think it would be better if changed for the actual word liters :)
pull/46/head
Jaume Montané 5 years ago committed by GitHub
parent 2c455d26f3
commit 6121e33693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
const smallCups = document.querySelectorAll('.cup-small')
const listers = document.getElementById('liters')
const liters = document.getElementById('liters')
const percentage = document.getElementById('percentage')
const remained = document.getElementById('remained')
@ -44,6 +44,6 @@ function updateBigCup() {
remained.style.height = 0
} else {
remained.style.visibility = 'visible'
listers.innerText = `${2 - (250 * fullCups / 1000)}L`
liters.innerText = `${2 - (250 * fullCups / 1000)}L`
}
}
}

Loading…
Cancel
Save