Release 2.13.3

This commit is contained in:
2026-09-13 23:47:11 +01:00
parent fea29f6a3c
commit ac18644fe8
10 changed files with 25 additions and 9 deletions
+8 -1
View File
@@ -160,9 +160,16 @@
if (!activeButton) {
return null;
}
var explicitInputId = activeButton.getAttribute('data-media-picker-file-input');
if (explicitInputId) {
var explicitInput = document.getElementById(explicitInputId);
if (explicitInput) {
return explicitInput;
}
}
var hiddenKey = activeButton.getAttribute('data-media-picker-hidden');
if (hiddenKey) {
var inputFromHidden = document.getElementById(hiddenKey.replace(/^existing_/, ''));
var inputFromHidden = document.getElementById(hiddenKey.replace(/^existing[-_]/, ''));
if (inputFromHidden) {
return inputFromHidden;
}
@@ -1797,7 +1797,7 @@
}
backgroundPreview.removeAttribute('src');
backgroundPreview.style.display = 'none';
backgroundEmpty.style.display = 'block';
backgroundEmpty.style.display = 'flex';
});
}
if (animationAdvancedModal) {