diff --git a/assets/js/frontend/user-registration.js b/assets/js/frontend/user-registration.js index bf943414a..89c82241e 100644 --- a/assets/js/frontend/user-registration.js +++ b/assets/js/frontend/user-registration.js @@ -3204,8 +3204,12 @@ function customPasswordChecks(password) { //Shows the content restriction message if botiga theme is used. jQuery(document).ready(function ($) { var urcrContentRestrictMsg = $(document).find(".urcr-restrict-msg"); - if (urcrContentRestrictMsg.length > 0) { - urcrContentRestrictMsg.first().css("display", "block"); + if (urcrContentRestrictMsg.length > 1) { + $(".urcr-restrict-msg").each(function () { + $(this).hide(); + }); + + $(".urcr-restrict-msg").first().show(); } });