summaryrefslogtreecommitdiff
path: root/html/quotes.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'html/quotes.jsp')
-rw-r--r--html/quotes.jsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/quotes.jsp b/html/quotes.jsp
index 0c2fd17..3813350 100644
--- a/html/quotes.jsp
+++ b/html/quotes.jsp
@@ -33,9 +33,9 @@ hr {
<script>
-function ajaxvote(id, value) {
+function vote(id, value) {
var http = new XMLHttpRequest();
- http.open("GET","ajaxvote.jsp?id="+id+"&vote="+value);
+ http.open("GET","/vote?id="+id+"&vote="+value);
http.onreadystatechange=function() {
if(http.readyState==4) {
document.getElementById("v"+id).innerHTML = http.responseText;