diff --git a/invenio_theme/assets/semantic-ui/js/invenio_theme/theme.js b/invenio_theme/assets/semantic-ui/js/invenio_theme/theme.js index a2398720..25e9f50b 100644 --- a/invenio_theme/assets/semantic-ui/js/invenio_theme/theme.js +++ b/invenio_theme/assets/semantic-ui/js/invenio_theme/theme.js @@ -12,15 +12,6 @@ import "./truncate.js"; import "semantic-ui-css/semantic.js"; import "semantic-ui-less/semantic.less"; -// Add placeholder image if image not found -jquery("img.has-placeholder").each(function() { - const $image = jquery(this); - - if(this.naturalHeight === 0) { - $image.attr("src", "/static/images/square-placeholder.png"); - } -}) - // Initialize Semantic UI components jquery(".ui.dropdown").dropdown({ onShow: function() {