prevent claim transaction link on home page from opening the claim itself

This commit is contained in:
Akinwale Ariwodola 2017-06-23 15:20:56 +01:00
parent df36f5322f
commit 7a84b50254

View file

@ -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;