mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fix for link to remote
This commit is contained in:
@@ -10,9 +10,10 @@ $(document).ready(function (){
|
||||
document.title = "Zöff Remote";
|
||||
setTimeout(function(){$("#search").focus();},500);
|
||||
socket = io.connect('//'+window.location.hostname+':8880');
|
||||
id = window.location.pathname.split("/")[2];
|
||||
id = window.location.pathname.split("/")[1];
|
||||
if(id)
|
||||
{
|
||||
console.log("remote exists");
|
||||
id = id.toLowerCase();
|
||||
Remotecontroller.control();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user