XenForo
Administrative
- Thread starter
- Admin
- #1
Been trying to figure out why XF's lightbox doesn't display thumbnails by default even though the default in
Long story short is Fancybox doesn't coerce that option.
From jquery.fancybox.js:
JavaScript:
Might be worth it to cast the setting before it gets passed along to Fancybox.
JavaScript:
Read more
ادامه مطلب...
XF.Lightbox
is options.lbThumbsAuto = 1
, nor could I get it to work as expected when you override the defaults.Long story short is Fancybox doesn't coerce that option.
From jquery.fancybox.js:
JavaScript:
Code:
if (Thumbs.isActive && Thumbs.opts.autoStart === true) {
Thumbs.show();
}
Might be worth it to cast the setting before it gets passed along to Fancybox.
JavaScript:
thumbs: {...
Read more
ادامه مطلب...