Add slash
This commit is contained in:
parent
8029e220c3
commit
903dc3d288
@ -213,7 +213,7 @@ function createLink(type) {
|
|||||||
else input.type = "stopwatch";
|
else input.type = "stopwatch";
|
||||||
|
|
||||||
// Create URL
|
// Create URL
|
||||||
var url = location.protocol + "//" + location.host + "/" + type + "?type=" + input.type + "&name=" + encodeURIComponent(input.name) + "&autostart=" + input.autostart;
|
var url = location.protocol + "//" + location.host + "/" + type + "/?type=" + input.type + "&name=" + encodeURIComponent(input.name) + "&autostart=" + input.autostart;
|
||||||
if (input.type === "timer") url += "&h=" + input.hours + "&m=" + input.minutes + "&s=" + input.seconds + "&beep=" + input.beep;
|
if (input.type === "timer") url += "&h=" + input.hours + "&m=" + input.minutes + "&s=" + input.seconds + "&beep=" + input.beep;
|
||||||
return url;
|
return url;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user