JavaScript for WordPress › Forums › Vanilla JavaScript › vanillapress 1.6.17 on firefox › Reply To: vanillapress 1.6.17 on firefox

#27240
Zac Gordon
Keymaster

Hi! Great question!

Firefox handles events a bit different and you can simply do this:


function( event ) {
  event.preventDefault;
}

That approach you took would probably be fine! Could you point me to exactly where you’re seeing this so I can respond in more depth?

Thanks!

Great questions!!!