mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-09 00:15:48 +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
|
||||
[$hamlet|
|
||||
<script type=text/javascript>
|
||||
if (document.getElementById('maincontent').style.display == 'block')
|
||||
if (document.getElementById('maincontent').style.display != 'none')
|
||||
\$(document).ready(function() {
|
||||
/* render chart */
|
||||
\$.plot($('#register-chart'),
|
||||
|
Loading…
Reference in New Issue
Block a user