Fixing some JavaScript stupidity

This commit is contained in:
BlackLight 2010-10-08 18:57:06 +02:00
parent ee0719f239
commit 6c3e00bc8d
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ window.onload = function() {
window.innerHeight- 50 : 50;
}
req.open ( 'GET', 'http://localhost:7654/correlation_graph.json', true );
req.open ( 'GET', 'http://' + window.location.host + '/correlation_graph.json', true );
req.onreadystatechange = function() {
if ( req.readyState == 4 && req.status == 200 )
{