Ensure trailing slash to fix relative url's
This commit is contained in:
parent
7a384b0885
commit
c4b556bde4
@ -9,6 +9,9 @@
|
|||||||
<link rel="manifest" href="webmanifest.json" />
|
<link rel="manifest" href="webmanifest.json" />
|
||||||
<link rel="stylesheet" href="style.css" />
|
<link rel="stylesheet" href="style.css" />
|
||||||
<script>
|
<script>
|
||||||
|
if (!location.pathname.endsWith("/"))
|
||||||
|
location.pathname += "/";
|
||||||
|
|
||||||
function getLink() {
|
function getLink() {
|
||||||
var phone = document.getElementById("phone").value.replace(/\D/g, "");
|
var phone = document.getElementById("phone").value.replace(/\D/g, "");
|
||||||
var message = document.getElementById("message-wrapper").open
|
var message = document.getElementById("message-wrapper").open
|
||||||
|
Loading…
Reference in New Issue
Block a user