mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-08-13 16:49:17 +00:00
Dynamic URLs
This commit is contained in:
parent
f008a7db93
commit
e27b4e1d5c
@ -47,7 +47,7 @@ $(function() {
|
|||||||
|
|
||||||
if (!roomId) return;
|
if (!roomId) return;
|
||||||
|
|
||||||
$('input.share-text').val("https://darkwire.io" + roomId);
|
$('input.share-text').val(document.location.protocol + "//" + document.location.hostname + roomId);
|
||||||
|
|
||||||
$('input.share-text').click(function() {
|
$('input.share-text').click(function() {
|
||||||
$(this).focus();
|
$(this).focus();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user