Jonas Jenwald f3b7fa091d Ensure that the zoom buttons are disabled correctly if the scale is smaller/larger than MIN_SCALE/MAX_SCALE in PDFViewerApplication._updateUIToolbar
In the `zoom{In, Out}` functions in `PDFViewerApplication`, we prevent the zoom value from becoming smaller/larger than `MIN_SCALE/MAX_SCALE`.
However, if the user sets the zoom level through the hash parameter the zoom buttons might not be correctly disabled; try http://mozilla.github.io/pdf.js/web/viewer.html#zoom=10.

Note that this issue has been present since "forever", but given that the solution is so simple I think that we should just fix this. (I'm also fixing a stupid typo I previously made in the JSDoc comment.)
2016-08-31 13:28:38 +02:00
..
2016-07-17 14:33:41 +02:00
2016-07-17 14:33:41 +02:00
2016-05-07 23:46:56 +02:00
2016-04-28 06:57:24 -05:00
2016-04-28 06:57:24 -05:00
2016-04-28 13:30:03 -05:00
2016-04-28 06:57:24 -05:00