minor. skabeloner tilføjet
This commit is contained in:
parent
a3e24ae5c4
commit
54d67b717f
14 changed files with 102 additions and 71 deletions
|
|
@ -471,7 +471,7 @@ window.document.addEventListener("DOMContentLoaded", function (event) {
|
|||
}
|
||||
}
|
||||
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
|
||||
var filterRegex = new RegExp("https:\/\/familien\.gdamsbo\.dk");
|
||||
var filterRegex = new RegExp('/' + window.location.host + '/');
|
||||
var isInternal = (href) => {
|
||||
return filterRegex.test(href) || localhostRegex.test(href);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue