mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-12 19:08:34 +03:00
fix missing chart regression (#72)
This commit is contained in:
parent
03359b48d3
commit
48460b0130
@ -394,7 +394,7 @@ registerChartHtml items =
|
|||||||
-- is hidden, eg with add form toggled
|
-- is hidden, eg with add form toggled
|
||||||
[$hamlet|
|
[$hamlet|
|
||||||
<script type=text/javascript>
|
<script type=text/javascript>
|
||||||
if (document.getElementById('maincontent').style.display == 'block')
|
if (document.getElementById('maincontent').style.display != 'none')
|
||||||
\$(document).ready(function() {
|
\$(document).ready(function() {
|
||||||
/* render chart */
|
/* render chart */
|
||||||
\$.plot($('#register-chart'),
|
\$.plot($('#register-chart'),
|
||||||
|
Loading…
Reference in New Issue
Block a user