web: drop redundant onClick; fix add txn tooltip (#338)

This commit is contained in:
Simon Michael 2016-04-28 20:52:24 -07:00
parent 3739f0e364
commit b175b8cddf

View File

@ -35,7 +35,7 @@ getJournalR = do
hledgerLayout vd "journal" [hamlet|
<h2#contenttitle>#{title}
<!-- p>Journal entries record movements of commodities between accounts. -->
<a#addformlink role="button" style="cursor:pointer; margin-top:1em;" onClick="addformReset(true);" data-toggle="modal" data-target="#addmodal" itle="Add a new transaction to the journal" >Add a transaction
<a#addformlink role="button" style="cursor:pointer; margin-top:1em;" data-toggle="modal" data-target="#addmodal" title="Add a new transaction to the journal" >Add a transaction
^{maincontent}
|]