fix spinner, ffmpegdownscale/convert not using correct file name
This commit is contained in:
parent
3ed7b0b5c7
commit
02734f1d9d
5 changed files with 157 additions and 173 deletions
|
@ -13,7 +13,6 @@
|
|||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<script src="https://unpkg.com/htmx.org@1.9.8"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -72,16 +71,8 @@
|
|||
<script src="/js/index.js"></script>
|
||||
<script>
|
||||
document.body.addEventListener('htmx:afterSettle', function(event) {
|
||||
var swappedElement = event.target;
|
||||
|
||||
if (swappedElement.id === 'embedder-list' || swappedElement.closest('#embedder-list')) {
|
||||
console.log('htmx:afterSwap', swappedElement.id);
|
||||
files = JSON.parse('<%- JSON.stringify(files) %>');
|
||||
refreshMediaList(files);
|
||||
console.log(files);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue