zixaphir / appchan-x

The most comprehensive, feature filled 4chan userscript.
http://zixaphir.github.io/appchan-x
Other
133 stars 61 forks source link

"Time Formatting" crashed on node... #583

Open fjordson opened 10 years ago

fjordson commented 10 years ago

" "Time Formatting" crashed on node Post No.40345205 (g). TypeError: Time.day[this.getDay(...)] is undefined "

I get this error when scrolling down a page sometimes. I'm not sure what it means but I thought I'd put it here. As far as I can tell it doesn't affect anything else on the page, but I'm not completely sure.

zixaphir commented 10 years ago

I'm looking into it, but I don't currently know the cause. As you've said, it doesn't seem to actually have any other adverse affects than an erroneous warning.

fjordson commented 10 years ago

Ok. When I get this error and then continue scrolling and hover over certain posts on certain threads, I get this: http://puu.sh/7bXeZ/978f5e5591.png

It shows that the post is dead but it's not. Also, what is NaN?

Fortnox commented 10 years ago

NaN is Not a Number. Presumably getToday() returns a null value because it's not recognised and the calculation to figure out the time since that post returns a NaN value because the null value is not a number. The error could be because the object Time has been re-defined as something else.