Skip to content
Snippets Groups Projects
Commit 719d12a1 authored by git's avatar git Committed by Lachlan Ennis
Browse files

fixes #2257023 fixes #2255295

parent 4a9c3187
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,8 @@ Drupal.extlink.applyClassAndSpan = function (links, class_name) {
$links_to_process = $(links);
}
else {
$links_to_process = $(links).not('[img]');
var links_with_images = $(links).find('img').parents('a');
$links_to_process = $(links).not(links_with_images);
}
$links_to_process.addClass(class_name);
var i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment