mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-08-12 08:36:34 +00:00
Dynamic URLs
This commit is contained in:
parent
f008a7db93
commit
e27b4e1d5c
@ -47,7 +47,7 @@ $(function() {
|
||||
|
||||
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() {
|
||||
$(this).focus();
|
||||
|
Loading…
x
Reference in New Issue
Block a user