Lightbox defaults not used because of type

D

digitalpoint

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

Continue reading...
 
BlackSpigot General Chat
Rules Help Users
    S @ Sa2: anyone have that meteor leak the download is down rn
    Top