mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Removes artifical delay.
This commit is contained in:
parent
0c9f1655c6
commit
b3ffd4f621
2 changed files with 4 additions and 4 deletions
|
@ -100,8 +100,8 @@ modulejs.define('ext/preview-img', ['_', '$', 'core/settings', 'core/resource',
|
|||
var $img = $('<img/>')
|
||||
.one('load', function () {
|
||||
|
||||
// callback($img);
|
||||
setTimeout(function () { callback($img); }, 1000); // for testing
|
||||
callback($img);
|
||||
// setTimeout(function () { callback($img); }, 1000); // for testing
|
||||
})
|
||||
.attr('src', src);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue