Closed (fixed)
Project:
Shadowbox
Version:
7.x-4.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2013 at 21:04 UTC
Updated:
1 Oct 2013 at 14:44 UTC
shadowbox_auto.js uses this line:
if ($(this).attr('rel') == '') {
This isn't working for me with jQuery 1.7.1 but works fine for 1.5.1.
Changing it to:
if ($(this).attr('rel') == undefined) {
works in 1.7.1 but not in 1.5.1.
Changing it to:
if ($(this).attr('rel') == '' || $(this).attr('rel') == undefined) {
Seems to work in both.
Is there something in my configuration options I'm missing here? Should this be working in jQuery 1.7.1 as is?
Comments
Comment #1
joepinion commentedOh, looks like this is fixed in 7.x-4.x-dev. Updating fixes the problem.