Release 2.13.3
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user