Please, why this code dont function in Firefox?
var path = 'http://www.facedabeauty.com.br/teste/0/display/'
var i = 2;
$('.gallery a').click(function(){
event.preventDefault();
$('.lightbox').removeClass('preloader').fadeIn();
$('.display').html('<img src="'+path+i+'.jpg" />').addClass('imgdisplay');
In Mozilla,is oppened the image in browser, not append the img tag.
You can see an example in: http://codepen.io/Mpleandro/full/CaAip