mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
c28f86d46d
Refactor inline events in task results [SCI-8434]
7 lines
219 B
JavaScript
7 lines
219 B
JavaScript
/* global ActiveStoragePreviews */
|
|
|
|
(function() {
|
|
$('.asset-image')
|
|
.on('load', (event) => ActiveStoragePreviews.showPreview(event))
|
|
.on('error', (event) => ActiveStoragePreviews.reCheckPreview(event));
|
|
}());
|