Closed (fixed)
Project:
Thickbox
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2009 at 09:18 UTC
Updated:
14 Aug 2009 at 12:40 UTC
If you use Drupal.behaviours, use context. So this:
[code]$("a[href*='/user/login']"). ...[/code]
Should become:
[code]$("a[href*='/user/login']", context). ...[/code]
i.e. add a , context inside the selector.
Comments
Comment #1
berenddeboer commentedI just love stuff you can't edit...
If you use Drupal.behaviours, use context. So this:
$("a[href*='/user/login']"). ...Should become:
$("a[href*='/user/login']", context). ...i.e. add a , context inside the selector.
Comment #2
frjo commentedCommitted to 6-dev. Thanks for the code!