Commit 658a68a8 authored by Ryan Herbert's avatar Ryan Herbert

main.js configure tip ids from config file

parent 54759405
......@@ -95,7 +95,7 @@ try {
var tips;
$.getJSON('tips.json', function(data) {
tips = new TipsOfTheDay(data, new TipDecorator());
tips = new TipsOfTheDay(data, new TipDecorator(), config.tip_ids);
tips.display(document.getElementById('tip-container'));
});
} catch(err) {
......
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