Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Page Not Showing In Firefox

Hi! I don't understand why my "contact" page does not show up in firefox! There aren't any errors in the console, and every other page works fine. The contact page is fine in IE, Chrome, and Safari. Please help!

The website is: www.angelina-marie.com

2 Answers

Kyle Kitzmiller
Kyle Kitzmiller
10,350 Points

Hi Angelina!

I'm seeing an error in the console that says:

  • IndexSizeError: Index or size is negative or greater than the allowed amount (app.js:4)

So I'm thinking that there's some specific array in that line that is not working with Firefox, but it's fine with the others. Also, it appears that there is a ton of data in the app.js file in each line, making it hard to read. I did give a quick college try, but I couldn't parse through it. Hope you are able to figure this out!

Hi, Kyle!

Thanks for your prompt answer. I was looking at the firebug console, which I why I missed that error. Thanks for pointing it out!

I minified my JS for production, which is why my file looks garbled.

Firefox looks to be pointing to code within Mithril.js (framework I built my site on). I've looked it up and seems I'm not the only one having this issue, I've made a new issue for it on github.