temporarily add some data capturing to dom for debugging, and remove superfluous condition in if

This commit is contained in:
2025-09-20 14:47:52 +10:00
parent aaf04e7f9b
commit 57e736a495

View File

@@ -15,6 +15,11 @@
p.icon_url = '{{p.icon_url}}'
move_paths.push(p)
{% endfor %}
document.OPT = '{{OPT}}'
document.entries = '{{entry_data}}'
document.how_many = '{{OPT.how_many}}'
document.entries_len = '{{entry_data|length}}'
</script>
<div class="container-fluid">
@@ -68,7 +73,7 @@
</button>
<span class="sm-txt my-auto">&nbsp;{{OPT.how_many}} files&nbsp;</span>
{% set nxt_disabled="" %}
{% if not entry_data or entry_data and entry_data|length < OPT.how_many|int %}
{% if not entry_data or entry_data|length < OPT.how_many|int %}
{% set nxt_disabled="disabled" %}
{% endif %}
<button aria-label="next" id="next" {{nxt_disabled}} name="next" class="next sm-txt btn btn-outline-secondary">