diff --git a/lib/js/theme-jquery.js b/lib/js/theme-jquery.js index 5e79e1e..ffb1f24 100644 --- a/lib/js/theme-jquery.js +++ b/lib/js/theme-jquery.js @@ -18,7 +18,7 @@ jQuery(document).ready(function() { // External Links var h = window.location.host.toLowerCase(); - jQuery('[href^="http://"],[href^="https://"]').not('[href*="' + h + '"]').addClass('external-link').attr("target", "_blank"); + jQuery('[href^="http"]').not('[href*="' + h + '"]').addClass('external-link').attr("target", "_blank"); // Add classes to different types of links jQuery('a[href^="mailto:"]').addClass('email-link');