We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e70759 commit 2917e05Copy full SHA for 2917e05
invenio_theme/assets/semantic-ui/js/invenio_theme/theme.js
@@ -12,15 +12,6 @@ import "./truncate.js";
12
import "semantic-ui-css/semantic.js";
13
import "semantic-ui-less/semantic.less";
14
15
-// Add placeholder image if image not found
16
-jquery("img.has-placeholder").each(function() {
17
- const $image = jquery(this);
18
-
19
- if(this.naturalHeight === 0) {
20
- $image.attr("src", "/static/images/square-placeholder.png");
21
- }
22
-})
23
24
// Initialize Semantic UI components
25
jquery(".ui.dropdown").dropdown({
26
onShow: function() {
0 commit comments