Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
JS works with wrong class name for external links.
js/elf.js contains:
$("a.external-link").each(function() {
but it should be:
$("a.elf-external").each(function() {
So, 'Use JavaScript to open external links in a new window' doesn't work due to this issue.
I'm going to provide a patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | elf-new-window-opening-bug-1872732-1.patch | 471 bytes | Konstantin Komelin |
Comments
Comment #1
Konstantin Komelin CreditAttribution: Konstantin Komelin commentedAttached the patch.
Please review.
Comment #2
Konstantin Komelin CreditAttribution: Konstantin Komelin commentedComment #3
WorldFallz CreditAttribution: WorldFallz commentedThis has finally been fixed. Thanks for the patch. Need to do for d6 also.
Comment #4
WorldFallz CreditAttribution: WorldFallz commenteddone