diff --git a/assets/css/global.css b/assets/css/global.css index 70423dd..6a2d874 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -129,3 +129,12 @@ a { padding: 1rem; border-radius: 8px; } + +.phone-only { + display: none; +} +@media screen and (max-width: 500px) { + .phone-only { + display: inline-block; + } +} diff --git a/index.html b/index.html index 060f23f..1cead25 100644 --- a/index.html +++ b/index.html @@ -37,6 +37,7 @@ +

Upgrades (hold to see more info)

Upgrade name diff --git a/js/game.js b/js/game.js index e0fa327..f0913c8 100644 --- a/js/game.js +++ b/js/game.js @@ -60,6 +60,7 @@ function updateUpgrades() { upgradeBtn.onclick = () => purchaseUpgrade(upgrade); upgradeBtn.onmouseenter = () => updateUpgradeInfo(upgrade); upgradeBtn.onmouseleave = clearUpgradeInfo; + upgradeBtn.oncontextmenu = () => false; if (mood < upgrade.cost) { upgradeBtn.style.opacity = 0.6;