Custom Code – Backslash in JavaScript code removed
-
Tried to insert JavaScript code before </head> and got a syntax error. It appears that a backslash in a regex was lost. For example, enter this into the ASE configuration:
<script>
var currentPagePath = window.location.pathname.replace(/\/$/, '');
</script>In the site front end, the backslash is missing, resulting in a syntax error.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.