diff --git a/stages/static/js/attribution.js b/stages/static/js/attribution.js index 4fa78b2..2140ea1 100644 --- a/stages/static/js/attribution.js +++ b/stages/static/js/attribution.js @@ -1,4 +1,5 @@ function update_periods(section_id) { + if (!section_id) return; $.getJSON('/section/' + section_id + '/periods/', function(data) { var sel = $('#period_select'); sel.append($("