temporarily add some data capturing to dom for debugging, and remove superfluous condition in if
This commit is contained in:
@@ -15,6 +15,11 @@
|
|||||||
p.icon_url = '{{p.icon_url}}'
|
p.icon_url = '{{p.icon_url}}'
|
||||||
move_paths.push(p)
|
move_paths.push(p)
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
document.OPT = '{{OPT}}'
|
||||||
|
document.entries = '{{entry_data}}'
|
||||||
|
document.how_many = '{{OPT.how_many}}'
|
||||||
|
document.entries_len = '{{entry_data|length}}'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
@@ -68,7 +73,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<span class="sm-txt my-auto"> {{OPT.how_many}} files </span>
|
<span class="sm-txt my-auto"> {{OPT.how_many}} files </span>
|
||||||
{% set nxt_disabled="" %}
|
{% 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" %}
|
{% set nxt_disabled="disabled" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button aria-label="next" id="next" {{nxt_disabled}} name="next" class="next sm-txt btn btn-outline-secondary">
|
<button aria-label="next" id="next" {{nxt_disabled}} name="next" class="next sm-txt btn btn-outline-secondary">
|
||||||
|
|||||||
Reference in New Issue
Block a user