Lost settings after reinitialize after ajax.
-
Hello π
I have problem with latest version of plugin. (WP 4.9.8).
After success ajax call I reinitializing fancybox with:
$(function()
{
$(‘.module_news_contener_post’).fancybox();
});It’s work, but a lot of options from settings in admin panel are lost. I think only stylize settings are working as well.
There is a way to use hardcode, like:
$(function()
{
$(‘.module_news_contener_post’).fancybox(
{
type: ‘image’,
href: this.href,
…
});
});.. but I want to stay with settings from admin panel.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Lost settings after reinitialize after ajax.’ is closed to new replies.