[RSS Feed/News] Lightbox defaults not used because of type

Status
Not open for further replies.

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 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

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom