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.
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!