Commit d8bd064f authored by fred's avatar fred
Browse files

liens externes

parent 941856b3
...@@ -77,3 +77,15 @@ jQuery(document).ready(function(){ ...@@ -77,3 +77,15 @@ jQuery(document).ready(function(){
$("#recherche").attr("placeholder", "Recherche"); $("#recherche").attr("placeholder", "Recherche");
}); });
</script> </script>
<script>
jQuery( document ).ready(function() {
jQuery('a').filter('[href^="http"], [href^="//"]').not('[href*="' + window.location.host + '"]').attr({
rel: 'noreferrer noopener',
target: '_blank'
})
});
</script>
\ No newline at end of file
...@@ -52,15 +52,3 @@ function mainmenu(){ ...@@ -52,15 +52,3 @@ function mainmenu(){
$(this).find('ul:first').css({visibility: "hidden"}); $(this).find('ul:first').css({visibility: "hidden"});
}); });
} }
jQuery( document ).ready(function() {
jQuery('a').filter('[href^="http"], [href^="//"]').not('[href*="' + window.location.host + '"]').attr({
rel: 'noreferrer noopener',
target: '_blank'
})
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment