()
| 163 | } |
| 164 | |
| 165 | // Increment the current page or close the guide if on the last page. |
| 166 | function nextGuide() { |
| 167 | if (currentPage < guidePages.length - 1) { |
| 168 | currentPage++; |
| 169 | updateGuide(); |
| 170 | } else { |
| 171 | closeGuide(); |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | // Decrement the current page if possible. |
no test coverage detected