From 6db75457647b18d386c16a19aaffab42c93a37fa Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 5 Mar 2018 18:58:01 +0100 Subject: [PATCH] ...and bind in the right function --- Site/Pages/v5/Ledgers/InspectLedgers.aspx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Site/Pages/v5/Ledgers/InspectLedgers.aspx b/Site/Pages/v5/Ledgers/InspectLedgers.aspx index 80f5c1aa..0055c33a 100644 --- a/Site/Pages/v5/Ledgers/InspectLedgers.aspx +++ b/Site/Pages/v5/Ledgers/InspectLedgers.aspx @@ -61,10 +61,6 @@ onInspectTransaction($(this).attr("data-txid")); }); - $(".LocalDownloadDox").click(function() { - downloadDocument($(this).attr("data-docid"), $(this).attr("data-docname")); - }); - } }); @@ -112,6 +108,11 @@ $("img.LocalIconGeneralViewDoc").click(function() { $("a.FancyBox_Gallery[data-fancybox='" + $(this).attr("txId") + "']").first().click(); }); + + $(".LocalDownloadDox").click(function() { + downloadDocument($(this).attr("data-docid"), $(this).attr("data-docname")); + }); + } } );