Hi,

I found a discrepancy that conflicts with node_gallery and really any other href that just so happens to end in jpg, png, etc (anything listed in line 9 of shadowbox_auto.js).

Because the conditional statement is looking for "jpg" instead of ".jpg", if you happen to have a link that ends in that string, then shadowbox wants to pop it up in a new window.

By including the period and changing the statement to ".jpg", .png, etc... the auto-enable feature won't trigger on node pages and instead only triggers on actual image files.

Thanks ~ pj

Comments

manfer’s picture

Status: Active » Fixed

Thanks for the report

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 40f5bd6 on 7.x-4.x, 8.x-1.x:
    Issue #1913560 by pjaxon: shadowbox_auto.js false positive