Skip to content
Snippets Groups Projects
Commit dd5f208d authored by Jeff Mann's avatar Jeff Mann Committed by Lachlan Ennis
Browse files

Issue #2297339 by JeffM2001: CSS exclusion not working

parent f09440e0
No related branches found
No related tags found
No related merge requests found
......@@ -80,6 +80,7 @@ Drupal.extlink.attach = function (context, settings) {
}
if (url.indexOf('http') === 0
&& ((!url.match(internal_link) && !(extExclude && url.match(extExclude))) || (extInclude && url.match(extInclude)))
&& !(extCssExclude && $(this).is(extCssExclude))
&& !(extCssExclude && $(this).parents(extCssExclude).length > 0)
&& !(extCssExplicit && $(this).parents(extCssExplicit).length < 1)) {
external_links.push(this);
......
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