fancybox
fancybox copied to clipboard
translation issue with fancybox.open()
While running fancybox 3.5.7 on Win10 (Chrome, Firefox, Edge) - and other opts are working fine,
$('.fancymodal').click(function() {
$.fancybox.open({
src: 'test',
type: 'html',
opts : {
smallBtn: false,
lang: 'de', // doesn't work at all
beforeShow : function() {
$.fancybox.defaults.lang = 'de'; // starts working on 2nd opening
}
}
});
}).promise().done(function(){
$.fancybox.defaults.lang = 'de'; // works right from the beginning
});
Hi,
Hmm, true, I will look into this.
Still an issue.