fengyuanchen / viewerjs

JavaScript image viewer.
https://fengyuanchen.github.io/viewerjs/
MIT License
7.73k stars 1.23k forks source link

On demo, using view with an index superior to the number of images gives an empty viewer #312

Closed locness3 closed 4 years ago

locness3 commented 4 years ago

Describe the bug Evertything's in the title.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://fengyuanchen.github.io/viewerjs/
  2. Enter a value superior to 9 next to viex at the right
  3. Click View

Expected behavior it should maybe go to the latest/first image or error

Screenshots Screenshot_2019-08-02 Viewer js

Desktop (please complete the following information):

locness3 commented 4 years ago

Oh thanks @fengyuanchen !

locness3 commented 4 years ago

Doesn't look fixed on the website for now

fengyuanchen commented 4 years ago

This change will be released in the next patch version.

locness3 commented 4 years ago

Ok.