aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--synhestesis.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/synhestesis.js b/synhestesis.js
index c2da8f0..d0787d1 100644
--- a/synhestesis.js
+++ b/synhestesis.js
@@ -27,7 +27,7 @@ function selectChange(evt) {
loadFile(xmlHttp.responseText);
}
}
- xmlHttp.open("GET", "http://ache.one/shared/synhestesis/" + select.selectedIndex, true);
+ xmlHttp.open("GET", "http://ache.one/shared/synhestesis/" +select.options[select.selectedIndex].value, true);
xmlHttp.send(null);
}
function loadFile( str ) {