mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Cleans code.
This commit is contained in:
parent
2282a0ba71
commit
b6d6bf8ba7
1 changed files with 0 additions and 4 deletions
|
@ -129,16 +129,12 @@ modulejs.define('ext/preview-img', ['_', '$', 'core/settings', 'core/resource',
|
|||
clearTimeout(spinnerTimeout);
|
||||
$container.spin(false);
|
||||
|
||||
// $img.hide().attr('src', src).fadeIn(100);
|
||||
$img.fadeOut(100, function () {
|
||||
|
||||
$img.attr('src', src).fadeIn(200);
|
||||
setTimeout(adjustSize, 1);
|
||||
});
|
||||
|
||||
// adjustSize();
|
||||
// setTimeout(adjustSize, 1);
|
||||
|
||||
$('#preview-bar-label').text(currentEntries[currentIdx].label);
|
||||
$('#preview-bar-percent').text('' + (100 * $img.width() / width).toFixed(0) + '%');
|
||||
$('#preview-bar-size').text('' + width + 'x' + height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue