bugfix
This commit is contained in:
@@ -38,7 +38,7 @@ const layoutTmpl = `
|
|||||||
</main>
|
</main>
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener('click', function(e) {
|
document.addEventListener('click', function(e) {
|
||||||
if (e.target.closest('a, button, .btn, input, select, textarea')) return;
|
if (e.target.closest('a, button, .btn, input, select, textarea, .stack-actions, .stack-detail-actions')) return;
|
||||||
var card = e.target.closest('[data-href]');
|
var card = e.target.closest('[data-href]');
|
||||||
if (card) window.location.href = card.dataset.href;
|
if (card) window.location.href = card.dataset.href;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user