GDColon / URLX

A rhythm game played in your browser's address bar
https://gdcolon.com/urlx
47 stars 7 forks source link

Fixed charts being exported as [object HTMLInputElement] #8

Closed Nadwey closed 2 years ago

GDColon commented 2 years ago

I think it's because it's detecting the input element named chartName. Instead of renaming the variable I'll rename the element.

Nadwey commented 2 years ago

Yeah, but I don't see any global variable named chartName, except from this function. Or, I'm just blind...

GDColon commented 2 years ago

The element named #chartName is considered a variable because javascript is stupid. I renamed it to chartNameInput

Nadwey commented 2 years ago

image I think it's even more broken

GDColon commented 2 years ago

Refresh with ctrl+f5

Nadwey commented 2 years ago

Stil... image

GDColon commented 2 years ago

Fixed for real, your browser uses the old saving code since it doesn't have support for the modern one.