10 lines
386 B
JavaScript
10 lines
386 B
JavaScript
// "Edit project" page: uses the shared uploads.js engine for the thumbnail
|
|
// (single slot). The existing thumbnail is shown as a read-only preview until
|
|
// a replacement is uploaded.
|
|
(function () {
|
|
const pending = JSON.parse(
|
|
(document.getElementById('packs-pending-uploads') || { textContent: '[]' }).textContent
|
|
);
|
|
PacksUploads.init({ pending: pending });
|
|
})();
|