WIP: Some enhancements in default template (Part 2) (#1322)

* Some enhancements in default template (Part 2)

* Update CHANGELOG.md

* Updated

* Revert "Updated"

This reverts commit decd0afc69.

* Updated
This commit is contained in:
Roman Kelesidis 2024-01-23 16:13:38 +07:00 committed by GitHub
commit 8a81eabe30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 71 additions and 113 deletions

View file

@ -363,9 +363,6 @@ function initPostImages(context) {
$('#preload').append($img);
var loading_icon = '<a href="' + src + '" target="_blank"><img src="' + bb_url + 'styles/images/pic_loading.gif" alt="" /></a>';
$v.html(loading_icon);
if ($.browser.msie) {
$v.after('<wbr>');
}
$img.one('load', function () {
imgFit(this, maxW);
$v.empty().append(this);
@ -375,9 +372,6 @@ function initPostImages(context) {
imgFit(this, maxW)
});
$v.empty().append($img);
if ($.browser.msie) {
$v.after('<wbr>');
}
}
});
}