Explorar el Código
Fix typo. Use mousedown instead of click
The big button shrinks a bit when clicked. This could make the
cursor fall off of it when clicking near the edge. I will probably
fix this later by handling the resulting mouseup no matter where it is.
tags/v0.1.0
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: E80B35A6F11C3656
Se han
modificado 2 ficheros con
2 adiciones y
2 borrados
constants.js
gorge.js
@@ -1344,7 +1344,7 @@ const newsFoodRateText = [
state => "You're hungry enough to eat a whole person"
],
[
state => "You're hungry eo nugh to eat a whole bunch of people"
state => "You're hungry eno ugh to eat a whole bunch of people"
],
[
state => "You're hungry enough to eat a LOT of people"
@@ -685,7 +685,7 @@ function initializeData() {
}
function registerListeners() {
document.querySelector("#tasty-micro").addEventListener("click ", (e) => {
document.querySelector("#tasty-micro").addEventListener("mousedown ", (e) => {
const add = eatPrey();
const text = "+" + render(round(add, 1), 3) + " food";
const gulp = "*glp*";