Skip to content

Commit 91ea5c6

Browse files
committed
Update overall_footer_body_after.html
- Redundant code has been removed
1 parent f26126a commit 91ea5c6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

imcger/imgupload/styles/all/template/event/overall_footer_body_after.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
// If image add thumbnail to the link
2727
if (isImage) {
28-
link.attr('href', imgUrl).html('<img src="' + imgUrl + '&t=1" title="' + real_filename + '" alt="' + real_filename + '">');
28+
link.html('<img src="' + imgUrl + '&t=1" title="' + real_filename + '" alt="' + real_filename + '">');
2929

3030
// If FancyBox aktive add FancyBox attribut to the link
3131
if ({{ S_IMCGER_FANCYBOX_VERSION > 2 ? 1 : 0 }}) {
@@ -37,9 +37,6 @@
3737
link.attr('onclick', 'return false;');
3838
}
3939
}
40-
else {
41-
link.attr('href', imgUrl).html(real_filename);
42-
}
4340
});
4441
}
4542

0 commit comments

Comments
 (0)