Open external links in new tab

This commit is contained in:
The Dod 2020-04-11 17:00:44 +03:00
parent 1f45186920
commit d987999d7a
2 changed files with 4 additions and 0 deletions

View File

@ -241,6 +241,8 @@ integrity=
]
});
$(function() {
// open external links in new tab
$('.reveal a:not([href^="#"])').attr('target','_blank');
var setGender = function(gender) {
$('.gender').hide();
$('.gender.'+gender).show();

View File

@ -88,6 +88,8 @@ integrity=
]
});
$(function() {
// open external links in new tab
$('.reveal a:not([href^="#"])').attr('target','_blank');
var setGender = function(gender) {
$('.gender').hide();
$('.gender.'+gender).show();