mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-10 07:54:00 +02:00
Update text preview.
This commit is contained in:
@@ -21,10 +21,10 @@ modulejs.define('ext/preview-txt', ['_', '$', 'marked', 'prism', 'core/event', '
|
||||
})
|
||||
.done(function (content) {
|
||||
|
||||
// callback(item, content);
|
||||
callback(item, content);
|
||||
|
||||
// for testing
|
||||
setTimeout(function () { callback(item, content); }, 1000);
|
||||
// setTimeout(function () { callback(item, content); }, 1000);
|
||||
})
|
||||
.fail(function (jqXHR, textStatus) {
|
||||
|
||||
|
Reference in New Issue
Block a user