From 7a84b50254d42a8579b268b438a407cc01e5e18f Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Fri, 23 Jun 2017 15:20:56 +0100 Subject: [PATCH] prevent claim transaction link on home page from opening the claim itself --- src/Template/Main/index.ctp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Template/Main/index.ctp b/src/Template/Main/index.ctp index 1940424..2d69dc0 100644 --- a/src/Template/Main/index.ctp +++ b/src/Template/Main/index.ctp @@ -77,6 +77,10 @@ setInterval(updateStatus, updateInterval); setInterval(updateRecentBlocks, updateInterval); + $(document).on('click', '.recent-claims .claim-box .tx-link', function(evt) { + evt.stopImmediatePropagation(); + }); + $(document).on('click', '.recent-claims .claim-box', function() { var id = $(this).attr('data-id'); window.location.href = '/claims/' + id;