mobify.js breaks event.preventDefault on Firefox?

Lin Dec 04, 2013 01:44AM PST

I added the great mobify.js script to a project I am working on.
The problem is, it is a singlepage fullscreen scrolling website with anchor links. When an anchor is clicked the page scrolls to the corresponding section on the page. When I include mobify.js on my page, this functionality breaks and the page reloads every time I click on an anchor link. Oddly enough, this happens only on Firefox, in all other browsers it works fine. It seems event.preventDefault stops working on Firefox when I use mobify.js?

Up -1 rated Down
Shawn Jansepar Dec 04, 2013 09:43AM PST Mobify Agent

Hi Lin,

Interesting – I haven’t seen this happen before. Could you send me the URL of the site you’ve seen this happen on, and steps to reproduce? In the meantime, I will try and setup a minimal test case of my own.


Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found