mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-29 13:31:00 +00:00
More uppercaselowercase
This commit is contained in:
@@ -7,7 +7,10 @@ $(document).ready(function (){
|
|||||||
socket = io.connect('http://'+window.location.hostname+':3000');
|
socket = io.connect('http://'+window.location.hostname+':3000');
|
||||||
id = window.location.pathname.split("/")[2];
|
id = window.location.pathname.split("/")[2];
|
||||||
if(id)
|
if(id)
|
||||||
|
{
|
||||||
|
id = id.toLowerCase();
|
||||||
control();
|
control();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function play()
|
function play()
|
||||||
@@ -34,7 +37,6 @@ function control()
|
|||||||
{
|
{
|
||||||
if(start)
|
if(start)
|
||||||
{
|
{
|
||||||
id = id.toLowerCase();
|
|
||||||
if(!id)id = $("#code-input").val().toLowerCase();
|
if(!id)id = $("#code-input").val().toLowerCase();
|
||||||
$("#code-input").val("");
|
$("#code-input").val("");
|
||||||
start = false;
|
start = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user