right i was actually gonna fix this

This commit is contained in:
Lorin Werthen 2016-10-03 22:54:54 +02:00
parent f9c2fcc41d
commit a7c47c885b

View file

@ -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>")