diff --git a/apps/block_scout_web/assets/js/lib/smart_contract/read_only_functions.js b/apps/block_scout_web/assets/js/lib/smart_contract/read_only_functions.js index 9c7e3240b8..b7e6c9316c 100644 --- a/apps/block_scout_web/assets/js/lib/smart_contract/read_only_functions.js +++ b/apps/block_scout_web/assets/js/lib/smart_contract/read_only_functions.js @@ -48,4 +48,6 @@ const readFunction = (element) => { const container = $('[data-smart-contract-functions]') -loadFunctions(container) +if (container.length) { + loadFunctions(container) +}