mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +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));
|
||
|
}());
|