Skip to content
Snippets Groups Projects
Commit 45a22e14 authored by Nate Lampton's avatar Nate Lampton
Browse files

Issue #2243457 by herve001 | rian76: CSS exclusion stopped working.

parent 866ec666
No related branches found
No related tags found
No related merge requests found
......@@ -59,8 +59,7 @@ Drupal.extlink.attach = function (context, settings) {
try {
var url = this.href.toLowerCase();
if (url.indexOf('http') == 0
&& (!url.match(internal_link) && !(extExclude && url.match(extExclude)))
|| (extInclude && url.match(extInclude))
&& ((!url.match(internal_link) && !(extExclude && url.match(extExclude))) || (extInclude && url.match(extInclude)))
&& !(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