mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 02:18:20 +00:00
16 lines
424 B
JavaScript
16 lines
424 B
JavaScript
![]() |
/*
|
||
|
* show.js
|
||
|
* Copyright (C) 2016 Sander Dorigo
|
||
|
*
|
||
|
* This software may be modified and distributed under the terms
|
||
|
* of the MIT license. See the LICENSE file for details.
|
||
|
*/
|
||
|
|
||
|
/* globals $, lineChart, piggyBankID */
|
||
|
|
||
|
$(function () {
|
||
|
"use strict";
|
||
|
if (typeof(lineChart) === 'function' && typeof(piggyBankID) !== 'undefined') {
|
||
|
lineChart('chart/piggy-bank/' + piggyBankID, 'piggy-bank-history');
|
||
|
}
|
||
|
});
|