mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 15:13:21 +08:00
8 lines
219 B
JavaScript
8 lines
219 B
JavaScript
|
/* global ActiveStoragePreviews */
|
||
|
|
||
|
(function() {
|
||
|
$('.asset-image')
|
||
|
.on('load', (event) => ActiveStoragePreviews.showPreview(event))
|
||
|
.on('error', (event) => ActiveStoragePreviews.reCheckPreview(event));
|
||
|
}());
|