bugfix
This commit is contained in:
1 parent
e0e8e88276
commit
c3b80cffdc
1 file changed
+1
-1
@@ -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