Fix small javascript bug.

This commit is contained in:
James Cole 2016-11-05 08:47:05 +01:00
parent 98160e9b63
commit adb97fcb05
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 3 additions and 4 deletions

View File

@ -114,10 +114,6 @@ function displayAjaxPartial(data, holder) {
// trigger list thing
listLengthInitial();
// trigger thing for budgets:
$('.budget-chart-activate').unbind('click').on('click', clickBudgetChart);
}
function failAjaxPartial(uri, holder) {

View File

@ -8,6 +8,9 @@ $(function () {
drawChart();
loadAjaxPartial('budgetOverview',budgetYearOverviewUri);
// trigger thing for budgets:
$('.budget-chart-activate').unbind('click').on('click', clickBudgetChart);
});
function drawChart() {