1

Cleanup ajax request

This commit is contained in:
Alex Yatskov 2014-07-27 11:21:47 +09:00
parent ae6c6f8d16
commit 7a270e8e47

View File

@ -210,7 +210,7 @@ function onQuery() {
}
$(document).ready(function() {
$.getJSON('http://localhost/node/hscd/keywords', { }, function(data) {
$.getJSON('/node/hscd/keywords', function(data) {
for (var keyword in data) {
$('#query').append($('<option></option>', {
'value': keyword,