diff --git a/www/form/inner.js b/www/form/inner.js index d5be04e91..ee218ecd0 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -2130,6 +2130,8 @@ define([ h('span', Messages.form_page_next), h('i.fa.fa-chevron-right'), ]); + if (current === pages) { $(right).css('visibility', 'hidden'); } + if (current === 1) { $(left).css('visibility', 'hidden'); } $(left).click(function () { refreshPage(current - 1); }); $(right).click(function () { refreshPage(current + 1); }); $page.append([left, state, right]);