diff --git a/apps/block_scout_web/assets/js/lib/transaction_input_dropdown.js b/apps/block_scout_web/assets/js/lib/transaction_input_dropdown.js index 2c8d21d7a4..dd74870a9e 100644 --- a/apps/block_scout_web/assets/js/lib/transaction_input_dropdown.js +++ b/apps/block_scout_web/assets/js/lib/transaction_input_dropdown.js @@ -1,6 +1,8 @@ import $ from 'jquery' $('.tx-input-dropdown').click(function (e) { + e.preventDefault() + var el = $(e.currentTarget) var target = $(el.attr('data-target')) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex index 64a0d1ad25..e59d6307b3 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/transaction/overview.html.eex @@ -102,62 +102,66 @@ <% end %> - <%= unless value_transfer?(@transaction) do %> -
<%= @transaction.input %>
+