diff --git a/Resources/views/layout.html.twig b/Resources/views/layout.html.twig index 978662f..dd95d95 100644 --- a/Resources/views/layout.html.twig +++ b/Resources/views/layout.html.twig @@ -86,7 +86,7 @@ }; $(window).load(function() { - var id = getHash().substr(1).replace( /([:\.\[\]\{\}])/g, "\\$1"); + var id = getHash().substr(1).replace( /([:\.\[\]\{\}|])/g, "\\$1"); var elem = $('#' + id); if (elem.length) { setTimeout(function() {