Commit 50407446 authored by Ryan Herbert's avatar Ryan Herbert

main.js load tips from config url

parent 658a68a8
......@@ -94,7 +94,7 @@ try {
new VidjilAutoComplete(db.db_address + 'tag/auto_complete');
var tips;
$.getJSON('tips.json', function(data) {
$.getJSON(config.doc_address + '/tips.json', function(data) {
tips = new TipsOfTheDay(data, new TipDecorator(), config.tip_ids);
tips.display(document.getElementById('tip-container'));
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment