[FIX] website_sale: overlapping x in cart alert
Bootstrap already adds a X on btn-close buttons automatically Part-of: odoo/odoo#139332
This commit is contained in:
@@ -147,7 +147,7 @@ function showWarning(message) {
|
||||
if (!cart_alert.length) {
|
||||
cart_alert = $(
|
||||
'<div class="alert alert-danger alert-dismissible" role="alert" id="data_warning">' +
|
||||
'<button type="button" class="btn-close" data-bs-dismiss="alert">×</button> ' +
|
||||
'<button type="button" class="btn-close" data-bs-dismiss="alert"></button> ' +
|
||||
'<span></span>' +
|
||||
'</div>').prependTo($page);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user