jonghwihwang / jquery-swip

Automatically exported from code.google.com/p/jquery-swip
0 stars 0 forks source link

Make windowSourceID take precedence over href #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Line 189 should be swapped to:

settings.windowSourceID = settings.windowSourceID || 
$(passingThis).attr('href');

Otherwise, with the current behavior, you cannot overwrite the href if it is 
present, which is bad when you want it to be a real URL (fallback etc) :(

Original issue reported on code.google.com by julian....@gmail.com on 16 Mar 2011 at 2:09