Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Renamed clearFeaturedMedia to more generic clearMedia to add clear button for all media select buttons
givanza03802103e19
diff --git a/public/js/admin/functions.js b/public/js/admin/functions.jsindex eb0d42c..bb1d9b2 100644--- a/public/js/admin/functions.js+++ b/public/js/admin/functions.js@@ -40,7 +40,7 @@ function removeRow(element, elementName = false) {}-function clearFeaturedMedia(id = "featured-image") {+function clearMedia(id = "featured-image") {document.getElementById(id + "-input").value = "";document.getElementById(id + "-thumb").setAttribute("src","img/placeholder.svg");}