This commit is contained in:
@@ -226,7 +226,7 @@ let priceChartInstance = null;
|
||||
|
||||
document.querySelectorAll('.dashboard-table tbody tr[data-product-id]').forEach(row => {
|
||||
row.addEventListener('click', event => {
|
||||
if (event.target.closest('a')) return;
|
||||
if (event.target.closest('a, button, [data-pchome-review-action]')) return;
|
||||
showHistory(row.dataset.productId, row.dataset.productName);
|
||||
});
|
||||
});
|
||||
@@ -314,7 +314,10 @@ let priceChartInstance = null;
|
||||
}
|
||||
|
||||
document.querySelectorAll('[data-pchome-review-action]').forEach(button => {
|
||||
button.addEventListener('click', () => runPchomeReviewDecision(button));
|
||||
button.addEventListener('click', event => {
|
||||
event.stopPropagation();
|
||||
runPchomeReviewDecision(button);
|
||||
});
|
||||
});
|
||||
|
||||
function trackMomoLinkClick(event) {
|
||||
|
||||
Reference in New Issue
Block a user