right i was actually gonna fix this
This commit is contained in:
parent
f9c2fcc41d
commit
a7c47c885b
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
$ ->
|
||||
$.getJSON 'http://localhost:3000/quotes.json', (data) ->
|
||||
$.getJSON './quotes.json', (data) ->
|
||||
quote = data[Math.floor(Math.random()*data.length)]
|
||||
$('#quote').append("<h3>#{quote.title}</h3><p>#{quote.description}</p>")
|
||||
|
|
Loading…
Reference in a new issue