UI: fixes based on Actionable Feedback from devtalk and frontend changes #40
@ -99,7 +99,6 @@ function removeImgUploadForm() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create function resetImgUploadForm
|
// Create function resetImgUploadForm
|
||||||
// TODO: fix function resetImgUploadForm on pageload
|
|
||||||
function resetImgUploadForm() {
|
function resetImgUploadForm() {
|
||||||
const btnResetImgUploadForm = document.querySelectorAll('.js-btn-reset-img-upload-form');
|
const btnResetImgUploadForm = document.querySelectorAll('.js-btn-reset-img-upload-form');
|
||||||
|
|
||||||
@ -172,6 +171,7 @@ function setImgUploadFormThumbnail() {
|
|||||||
function init() {
|
function init() {
|
||||||
addImgUploadFormClasses();
|
addImgUploadFormClasses();
|
||||||
resetImgUploadForm();
|
resetImgUploadForm();
|
||||||
|
setImgUploadFormThumbnail();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Configure tag selection, if present on the page
|
// Configure tag selection, if present on the page
|
||||||
|
Loading…
Reference in New Issue
Block a user